#37286D#37286D

#37286D is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.115 H 288.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#37286D
RGBrgb(55, 40, 109)
HSLhsl(253, 46%, 29%)
HSVhsv(253, 63%, 43%)
CMYKcmyk(49.5%, 63.3%, 0%, 57.3%)
CIE-LABlab(21.70, 26.00, -37.96)
CIE-LCHlch(21.70, 46.01, 304.40°)
OKLaboklab(33.6% 0.0367 -0.1085)
OKLCHoklch(33.6% 0.115 288.7)
XYZxyz(5.0939, 3.4337, 14.8594)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37286D #5E6D28
analogous
#283C6D #37286D #5A286D
triadic
#37286D #6D3728 #286D37
tetradic
#37286D #6D283C #5E6D28 #286D5A
square
#37286D #6D283C #5E6D28 #286D5A
split-complementary
#37286D #6D5A28 #3C6D28
monochromatic
#0B0816 #201840 #37286D #4E389A #6850BF

Accessibility & contrast

On white

12.45
#37286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#37286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37286D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37286D#FFFFFF#000000##FFFFFF
##37286D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#263846
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37286d;
/* rgb */ color: rgb(55, 40, 109);
/* oklch */ color: oklch(33.6% 0.115 288.7);
Tailwind
colors: {
  custom: {
    50: '#736297',
    500: '#37286d',
    950: '#000000',
  },
}
SCSS
$custom: #37286d;
$custom-light: #736297;
$custom-dark: #000000;
JSON
{
  "hex": "#37286d",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 253.043,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33596,
    "c": 0.11454,
    "h": 288.7
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#37286D
secondary
#8E9F51
accent
#D652B9
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #37286D

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

Preview Lab → · Contrast checker → · Palette generator →

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