#37247B#37247B

#37247B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.139 H 286.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#37247B
RGBrgb(55, 36, 123)
HSLhsl(253, 55%, 31%)
HSVhsv(253, 71%, 48%)
CMYKcmyk(55.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.96, 33.02, -46.53)
CIE-LCHlch(21.96, 57.05, 305.36°)
OKLaboklab(34.15% 0.0396 -0.1337)
OKLCHoklch(34.15% 0.139 286.5)
XYZxyz(5.7805, 3.5037, 19.1068)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37247B #687B24
analogous
#243C7B #37247B #62247B
triadic
#37247B #7B3724 #247B37
tetradic
#37247B #7B243C #687B24 #247B62
square
#37247B #7B243C #687B24 #247B62
split-complementary
#37247B #7B6224 #3C7B24
monochromatic
#0D081C #22164C #37247B #4C32AA #694ECB

Accessibility & contrast

On white

12.35
#37247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#37247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37247B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37247B#FFFFFF#000000##FFFFFF
##37247B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#1B3A4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #37247b;
/* rgb */ color: rgb(55, 36, 123);
/* oklch */ color: oklch(34.2% 0.139 286.5);
Tailwind
colors: {
  custom: {
    50: '#7560a2',
    500: '#37247b',
    950: '#000000',
  },
}
SCSS
$custom: #37247b;
$custom-light: #7560a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37247b",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 253.103,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.1394,
    "h": 286.5
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#37247B
secondary
#98AD4D
accent
#DE4ABE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37247B

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

Preview Lab → · Contrast checker → · Palette generator →

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