#37287C#37287C

#37287C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.136 H 285.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#37287C
RGBrgb(55, 40, 124)
HSLhsl(251, 51%, 32%)
HSVhsv(251, 68%, 49%)
CMYKcmyk(55.6%, 67.7%, 0%, 51.4%)
CIE-LABlab(22.95, 30.90, -45.55)
CIE-LCHlch(22.95, 55.04, 304.15°)
OKLaboklab(34.89% 0.0354 -0.1308)
OKLCHoklch(34.89% 0.136 285.1)
XYZxyz(5.9713, 3.7847, 19.4808)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37287C #6D7C28
analogous
#28437C #37287C #61287C
triadic
#37287C #7C3728 #287C37
tetradic
#37287C #7C2843 #6D7C28 #287C61
square
#37287C #7C2843 #6D7C28 #287C61
split-complementary
#37287C #7C6128 #437C28
monochromatic
#0E0A1F #22194E #37287C #4C37AA #6A56C8

Accessibility & contrast

On white

11.95
#37287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37287C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37287C#FFFFFF#000000##FFFFFF
##37287C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#1A3D4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #37287c;
/* rgb */ color: rgb(55, 40, 124);
/* oklch */ color: oklch(34.9% 0.136 285.1);
Tailwind
colors: {
  custom: {
    50: '#7563a3',
    500: '#37287c',
    950: '#000000',
  },
}
SCSS
$custom: #37287c;
$custom-light: #7563a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37287c",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 250.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.1355,
    "h": 285.1
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#37287C
secondary
#9DAD52
accent
#DB4DC1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37287C

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

Preview Lab → · Contrast checker → · Palette generator →

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