#37238D#37238D

#37238D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.164 H 282.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#37238D
RGBrgb(55, 35, 141)
HSLhsl(251, 60%, 35%)
HSVhsv(251, 75%, 55%)
CMYKcmyk(61%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.46, 39.32, -55.38)
CIE-LCHlch(23.46, 67.92, 305.37°)
OKLaboklab(35.75% 0.0367 -0.1596)
OKLCHoklch(35.75% 0.164 282.9)
XYZxyz(6.9828, 3.9369, 25.5861)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37238D #798D23
analogous
#23448D #37238D #6C238D
triadic
#37238D #8D3723 #238D37
tetradic
#37238D #8D2344 #798D23 #238D6C
square
#37238D #8D2344 #798D23 #238D6C
split-complementary
#37238D #8D6C23 #448D23
monochromatic
#110B2B #24175C #37238D #4A2FBE #6E55D5

Accessibility & contrast

On white

11.75
#37238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#37238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37238D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37238D#FFFFFF#000000##FFFFFF
##37238D1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #37238d;
/* rgb */ color: rgb(55, 35, 141);
/* oklch */ color: oklch(35.7% 0.164 282.9);
Tailwind
colors: {
  custom: {
    50: '#7960af',
    500: '#37238d',
    950: '#000000',
  },
}
SCSS
$custom: #37238d;
$custom-light: #7960af;
$custom-dark: #000000;
JSON
{
  "hex": "#37238d",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 251.321,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.16377,
    "h": 282.9
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#37238D
secondary
#A6B953
accent
#E344C5
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #37238D

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

Preview Lab → · Contrast checker → · Palette generator →

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