#37236E#37236E

#37236E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.123 H 290.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#37236E
RGBrgb(55, 35, 110)
HSLhsl(256, 52%, 28%)
HSVhsv(256, 68%, 43%)
CMYKcmyk(50%, 68.2%, 0%, 56.9%)
CIE-LABlab(20.60, 29.49, -40.41)
CIE-LCHlch(20.60, 50.02, 306.12°)
OKLaboklab(32.82% 0.0426 -0.1157)
OKLCHoklch(32.82% 0.123 290.2)
XYZxyz(4.9903, 3.1399, 15.0920)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37236E #5A6E23
analogous
#23346E #37236E #5C236E
triadic
#37236E #6E3723 #236E37
tetradic
#37236E #6E2334 #5A6E23 #236E5C
square
#37236E #6E2334 #5A6E23 #236E5C
split-complementary
#37236E #6E5C23 #346E23
monochromatic
#0C0717 #201440 #37236E #4E329C #6847C4

Accessibility & contrast

On white

12.90
#37236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#37236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37236E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37236E#FFFFFF#000000##FFFFFF
##37236E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#253545
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #37236e;
/* rgb */ color: rgb(55, 35, 110);
/* oklch */ color: oklch(32.8% 0.123 290.2);
Tailwind
colors: {
  custom: {
    50: '#735f98',
    500: '#37236e',
    950: '#000000',
  },
}
SCSS
$custom: #37236e;
$custom-light: #735f98;
$custom-dark: #000000;
JSON
{
  "hex": "#37236e",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 256,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32816,
    "c": 0.12327,
    "h": 290.2
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#37236E
secondary
#8AA14C
accent
#DB4DB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #37236E

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

Preview Lab → · Contrast checker → · Palette generator →

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