#37286F#37286F

#37286F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.8% C 0.117 H 288.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#37286F
RGBrgb(55, 40, 111)
HSLhsl(253, 47%, 30%)
HSVhsv(253, 64%, 44%)
CMYKcmyk(50.5%, 64%, 0%, 56.5%)
CIE-LABlab(21.86, 26.65, -39.00)
CIE-LCHlch(21.86, 47.23, 304.34°)
OKLaboklab(33.76% 0.0366 -0.1115)
OKLCHoklch(33.76% 0.117 288.2)
XYZxyz(5.2028, 3.4773, 15.4329)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37286F #606F28
analogous
#283D6F #37286F #5B286F
triadic
#37286F #6F3728 #286F37
tetradic
#37286F #6F283D #606F28 #286F5B
square
#37286F #6F283D #606F28 #286F5B
split-complementary
#37286F #6F5B28 #3D6F28
monochromatic
#0B0816 #211842 #37286F #4D389C #6951C0

Accessibility & contrast

On white

12.38
#37286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#37286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37286F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37286F#FFFFFF#000000##FFFFFF
##37286F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#243847
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37286f;
/* rgb */ color: rgb(55, 40, 111);
/* oklch */ color: oklch(33.8% 0.117 288.2);
Tailwind
colors: {
  custom: {
    50: '#736299',
    500: '#37286f',
    950: '#000000',
  },
}
SCSS
$custom: #37286f;
$custom-light: #736299;
$custom-dark: #000000;
JSON
{
  "hex": "#37286f",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 252.676,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.11739,
    "h": 288.2
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#37286F
secondary
#90A151
accent
#D751BA
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #37286F

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

Preview Lab → · Contrast checker → · Palette generator →

#37286F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva