#37287D#37287D

#37287D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.137 H 284.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#37287D
RGBrgb(55, 40, 125)
HSLhsl(251, 52%, 32%)
HSVhsv(251, 68%, 49%)
CMYKcmyk(56%, 68%, 0%, 51%)
CIE-LABlab(23.03, 31.22, -46.04)
CIE-LCHlch(23.03, 55.63, 304.14°)
OKLaboklab(34.98% 0.0352 -0.1322)
OKLCHoklch(34.98% 0.137 284.9)
XYZxyz(6.0349, 3.8101, 19.8155)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37287D #6E7D28
analogous
#28447D #37287D #61287D
triadic
#37287D #7D3728 #287D37
tetradic
#37287D #7D2844 #6E7D28 #287D61
square
#37287D #7D2844 #6E7D28 #287D61
split-complementary
#37287D #7D6128 #447D28
monochromatic
#0E0A20 #23194F #37287D #4B37AB #6B56C9

Accessibility & contrast

On white

11.92
#37287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#37287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37287D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37287D#FFFFFF#000000##FFFFFF
##37287D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#193D4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #37287d;
/* rgb */ color: rgb(55, 40, 125);
/* oklch */ color: oklch(35.0% 0.137 284.9);
Tailwind
colors: {
  custom: {
    50: '#7563a3',
    500: '#37287d',
    950: '#000000',
  },
}
SCSS
$custom: #37287d;
$custom-light: #7563a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37287d",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 250.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.13686,
    "h": 284.9
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#37287D
secondary
#9EAE53
accent
#DB4DC2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37287D

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

Preview Lab → · Contrast checker → · Palette generator →

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