#37286B#37286B

#37286B is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.4% C 0.112 H 289.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#37286B
RGBrgb(55, 40, 107)
HSLhsl(253, 46%, 29%)
HSVhsv(253, 63%, 42%)
CMYKcmyk(48.6%, 62.6%, 0%, 58%)
CIE-LABlab(21.55, 25.35, -36.92)
CIE-LCHlch(21.55, 44.79, 304.47°)
OKLaboklab(33.43% 0.0368 -0.1054)
OKLCHoklch(33.43% 0.112 289.2)
XYZxyz(4.9874, 3.3912, 14.2988)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37286B #5C6B28
analogous
#283B6B #37286B #59286B
triadic
#37286B #6B3728 #286B37
tetradic
#37286B #6B283B #5C6B28 #286B59
square
#37286B #6B283B #5C6B28 #286B59
split-complementary
#37286B #6B5928 #3B6B28
monochromatic
#0B0816 #20173E #37286B #4E3998 #6850BE

Accessibility & contrast

On white

12.51
#37286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#37286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37286B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37286B#FFFFFF#000000##FFFFFF
##37286B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#273745
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37286b;
/* rgb */ color: rgb(55, 40, 107);
/* oklch */ color: oklch(33.4% 0.112 289.2);
Tailwind
colors: {
  custom: {
    50: '#726296',
    500: '#37286b',
    950: '#000000',
  },
}
SCSS
$custom: #37286b;
$custom-light: #726296;
$custom-dark: #000000;
JSON
{
  "hex": "#37286b",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 253.433,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.11167,
    "h": 289.2
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#37286B
secondary
#8C9D51
accent
#D553B8
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #37286B

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

Preview Lab → · Contrast checker → · Palette generator →

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