#37247F#37247F

#37247F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.145 H 285.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#37247F
RGBrgb(55, 36, 127)
HSLhsl(253, 56%, 32%)
HSVhsv(253, 72%, 50%)
CMYKcmyk(56.7%, 71.7%, 0%, 50.2%)
CIE-LABlab(22.32, 34.30, -48.47)
CIE-LCHlch(22.32, 59.37, 305.29°)
OKLaboklab(34.53% 0.0389 -0.1394)
OKLCHoklch(34.53% 0.145 285.6)
XYZxyz(6.0360, 3.6059, 20.4525)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37247F #6C7F24
analogous
#243F7F #37247F #64247F
triadic
#37247F #7F3724 #247F37
tetradic
#37247F #7F243F #6C7F24 #247F64
square
#37247F #7F243F #6C7F24 #247F64
split-complementary
#37247F #7F6424 #3F7F24
monochromatic
#0E0920 #22164F #37247F #4C32AF #6A50CD

Accessibility & contrast

On white

12.20
#37247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37247F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37247F#FFFFFF#000000##FFFFFF
##37247F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#173C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #37247f;
/* rgb */ color: rgb(55, 36, 127);
/* oklch */ color: oklch(34.5% 0.145 285.6);
Tailwind
colors: {
  custom: {
    50: '#7660a5',
    500: '#37247f',
    950: '#000000',
  },
}
SCSS
$custom: #37247f;
$custom-light: #7660a5;
$custom-dark: #000000;
JSON
{
  "hex": "#37247f",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 252.527,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34526,
    "c": 0.14467,
    "h": 285.6
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#37247F
secondary
#9CB14E
accent
#DF49C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37247F

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

Preview Lab → · Contrast checker → · Palette generator →

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