#37165D#37165D

#37165D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.119 H 300.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#37165D
RGBrgb(55, 22, 93)
HSLhsl(268, 62%, 23%)
HSVhsv(268, 76%, 36%)
CMYKcmyk(40.9%, 76.3%, 0%, 63.5%)
CIE-LABlab(16.39, 31.94, -36.08)
CIE-LCHlch(16.39, 48.19, 311.51°)
OKLaboklab(29.34% 0.0602 -0.1029)
OKLCHoklch(29.34% 0.119 300.3)
XYZxyz(3.8378, 2.1763, 10.5717)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37165D #3C5D16
analogous
#16195D #37165D #5A165D
triadic
#37165D #5D3716 #165D37
tetradic
#37165D #5D1619 #3C5D16 #165D5A
square
#37165D #5D1619 #3C5D16 #165D5A
split-complementary
#37165D #5D5A16 #195D16
monochromatic
#0F0619 #1A0A2C #37165D #54228E #722DC0

Accessibility & contrast

On white

14.63
#37165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#37165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37165D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37165D#FFFFFF#000000##FFFFFF
##37165D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2E2738
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37165d;
/* rgb */ color: rgb(55, 22, 93);
/* oklch */ color: oklch(29.3% 0.119 300.3);
Tailwind
colors: {
  custom: {
    50: '#72568b',
    500: '#37165d',
    950: '#000000',
  },
}
SCSS
$custom: #37165d;
$custom-light: #72568b;
$custom-dark: #000000;
JSON
{
  "hex": "#37165d",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 267.887,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2934,
    "c": 0.11925,
    "h": 300.3
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#37165D
secondary
#6B943B
accent
#E5439A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37165D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#37165D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva