#37247D#37247D

#37247D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.142 H 286.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#37247D
RGBrgb(55, 36, 125)
HSLhsl(253, 55%, 32%)
HSVhsv(253, 71%, 49%)
CMYKcmyk(56%, 71.2%, 0%, 51%)
CIE-LABlab(22.14, 33.66, -47.50)
CIE-LCHlch(22.14, 58.22, 305.32°)
OKLaboklab(34.34% 0.0392 -0.1365)
OKLCHoklch(34.34% 0.142 286)
XYZxyz(5.9070, 3.5543, 19.7729)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37247D #6A7D24
analogous
#243E7D #37247D #64247D
triadic
#37247D #7D3724 #247D37
tetradic
#37247D #7D243E #6A7D24 #247D64
square
#37247D #7D243E #6A7D24 #247D64
split-complementary
#37247D #7D6424 #3E7D24
monochromatic
#0D091E #22164D #37247D #4C32AD #6A4FCC

Accessibility & contrast

On white

12.27
#37247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#37247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37247D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37247D#FFFFFF#000000##FFFFFF
##37247D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#193B4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #37247d;
/* rgb */ color: rgb(55, 36, 125);
/* oklch */ color: oklch(34.3% 0.142 286.0);
Tailwind
colors: {
  custom: {
    50: '#7660a3',
    500: '#37247d',
    950: '#000000',
  },
}
SCSS
$custom: #37247d;
$custom-light: #7660a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37247d",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 252.809,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.14204,
    "h": 286
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#37247D
secondary
#9AAF4D
accent
#DF49BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37247D

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

Preview Lab → · Contrast checker → · Palette generator →

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