#37247E#37247E

#37247E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.143 H 285.8°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#37247E
RGBrgb(55, 36, 126)
HSLhsl(253, 56%, 32%)
HSVhsv(253, 71%, 49%)
CMYKcmyk(56.3%, 71.4%, 0%, 50.6%)
CIE-LABlab(22.23, 33.98, -47.98)
CIE-LCHlch(22.23, 58.79, 305.30°)
OKLaboklab(34.43% 0.039 -0.1379)
OKLCHoklch(34.43% 0.143 285.8)
XYZxyz(5.9712, 3.5800, 20.1110)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37247E #6B7E24
analogous
#243E7E #37247E #64247E
triadic
#37247E #7E3724 #247E37
tetradic
#37247E #7E243E #6B7E24 #247E64
square
#37247E #7E243E #6B7E24 #247E64
split-complementary
#37247E #7E6424 #3E7E24
monochromatic
#0D091F #22164E #37247E #4C32AE #6A50CD

Accessibility & contrast

On white

12.24
#37247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#37247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37247E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37247E#FFFFFF#000000##FFFFFF
##37247E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#183B4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #37247e;
/* rgb */ color: rgb(55, 36, 126);
/* oklch */ color: oklch(34.4% 0.143 285.8);
Tailwind
colors: {
  custom: {
    50: '#7660a4',
    500: '#37247e',
    950: '#000000',
  },
}
SCSS
$custom: #37247e;
$custom-light: #7660a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37247e",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 252.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.14336,
    "h": 285.8
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37247E

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

Preview Lab → · Contrast checker → · Palette generator →

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