#37236A#37236A

#37236A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.118 H 291.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#37236A
RGBrgb(55, 35, 106)
HSLhsl(257, 50%, 28%)
HSVhsv(257, 67%, 42%)
CMYKcmyk(48.1%, 67%, 0%, 58.4%)
CIE-LABlab(20.26, 28.22, -38.35)
CIE-LCHlch(20.26, 47.62, 306.35°)
OKLaboklab(32.47% 0.043 -0.1096)
OKLCHoklch(32.47% 0.118 291.4)
XYZxyz(4.7774, 3.0547, 13.9708)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37236A #566A23
analogous
#23336A #37236A #5A236A
triadic
#37236A #6A3723 #236A37
tetradic
#37236A #6A2333 #566A23 #236A5A
square
#37236A #6A2333 #566A23 #236A5A
split-complementary
#37236A #6A5A23 #336A23
monochromatic
#0C0817 #1F143C #37236A #4F3298 #6946C2

Accessibility & contrast

On white

13.04
#37236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#37236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37236A
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37236A#FFFFFF#000000##FFFFFF
##37236A1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#283443
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #37236a;
/* rgb */ color: rgb(55, 35, 106);
/* oklch */ color: oklch(32.5% 0.118 291.4);
Tailwind
colors: {
  custom: {
    50: '#735f95',
    500: '#37236a',
    950: '#000000',
  },
}
SCSS
$custom: #37236a;
$custom-light: #735f95;
$custom-dark: #000000;
JSON
{
  "hex": "#37236a",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 256.901,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.11778,
    "h": 291.4
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#37236A
secondary
#869D4B
accent
#DA4EB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #37236A

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

Preview Lab → · Contrast checker → · Palette generator →

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