#37236D#37236D

#37236D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.122 H 290.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#37236D
RGBrgb(55, 35, 109)
HSLhsl(256, 51%, 28%)
HSVhsv(256, 68%, 43%)
CMYKcmyk(49.5%, 67.9%, 0%, 57.3%)
CIE-LABlab(20.51, 29.17, -39.90)
CIE-LCHlch(20.51, 49.42, 306.17°)
OKLaboklab(32.73% 0.0427 -0.1142)
OKLCHoklch(32.73% 0.122 290.5)
XYZxyz(4.9361, 3.1182, 14.8068)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37236D #596D23
analogous
#23346D #37236D #5C236D
triadic
#37236D #6D3723 #236D37
tetradic
#37236D #6D2334 #596D23 #236D5C
square
#37236D #6D2334 #596D23 #236D5C
split-complementary
#37236D #6D5C23 #346D23
monochromatic
#0C0717 #20143F #37236D #4E329B #6847C4

Accessibility & contrast

On white

12.93
#37236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#37236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37236D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37236D#FFFFFF#000000##FFFFFF
##37236D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#263544
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #37236d;
/* rgb */ color: rgb(55, 35, 109);
/* oklch */ color: oklch(32.7% 0.122 290.5);
Tailwind
colors: {
  custom: {
    50: '#735f97',
    500: '#37236d',
    950: '#000000',
  },
}
SCSS
$custom: #37236d;
$custom-light: #735f97;
$custom-dark: #000000;
JSON
{
  "hex": "#37236d",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 256.216,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32728,
    "c": 0.1219,
    "h": 290.5
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#37236D
secondary
#89A04B
accent
#DB4DB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #37236D

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

Preview Lab → · Contrast checker → · Palette generator →

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