#37267B#37267B

#37267B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.137 H 285.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#37267B
RGBrgb(55, 38, 123)
HSLhsl(252, 53%, 32%)
HSVhsv(252, 69%, 48%)
CMYKcmyk(55.3%, 69.1%, 0%, 51.8%)
CIE-LABlab(22.40, 31.80, -45.80)
CIE-LCHlch(22.40, 55.76, 304.78°)
OKLaboklab(34.47% 0.0376 -0.1315)
OKLCHoklch(34.47% 0.137 285.9)
XYZxyz(5.8427, 3.6282, 19.1275)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37267B #6A7B26
analogous
#26407B #37267B #62267B
triadic
#37267B #7B3726 #267B37
tetradic
#37267B #7B2640 #6A7B26 #267B62
square
#37267B #7B2640 #6A7B26 #267B62
split-complementary
#37267B #7B6226 #407B26
monochromatic
#0D091D #22184C #37267B #4C34AA #6A52CA

Accessibility & contrast

On white

12.17
#37267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#37267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37267B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37267B#FFFFFF#000000##FFFFFF
##37267B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#1B3B4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37267b;
/* rgb */ color: rgb(55, 38, 123);
/* oklch */ color: oklch(34.5% 0.137 285.9);
Tailwind
colors: {
  custom: {
    50: '#7561a2',
    500: '#37267b',
    950: '#000000',
  },
}
SCSS
$custom: #37267b;
$custom-light: #7561a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37267b",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 252,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.1368,
    "h": 285.9
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#37267B
secondary
#9AAD50
accent
#DC4CBF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37267B

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

Preview Lab → · Contrast checker → · Palette generator →

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