#37248C#37248C

#37248C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.161 H 282.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#37248C
RGBrgb(55, 36, 140)
HSLhsl(251, 59%, 35%)
HSVhsv(251, 74%, 55%)
CMYKcmyk(60.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(23.56, 38.44, -54.59)
CIE-LCHlch(23.56, 66.77, 305.15°)
OKLaboklab(35.79% 0.0362 -0.1573)
OKLCHoklch(35.79% 0.161 282.9)
XYZxyz(6.9386, 3.9670, 25.2059)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37248C #798C24
analogous
#24458C #37248C #6B248C
triadic
#37248C #8C3724 #248C37
tetradic
#37248C #8C2445 #798C24 #248C6B
square
#37248C #8C2445 #798C24 #248C6B
split-complementary
#37248C #8C6B24 #458C24
monochromatic
#110B2B #24175B #37248C #4A31BD #6E57D4

Accessibility & contrast

On white

11.71
#37248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#37248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37248C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37248C#FFFFFF#000000##FFFFFF
##37248C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #37248c;
/* rgb */ color: rgb(55, 36, 140);
/* oklch */ color: oklch(35.8% 0.161 282.9);
Tailwind
colors: {
  custom: {
    50: '#7861af',
    500: '#37248c',
    950: '#000000',
  },
}
SCSS
$custom: #37248c;
$custom-light: #7861af;
$custom-dark: #000000;
JSON
{
  "hex": "#37248c",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 250.962,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.16141,
    "h": 282.9
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#37248C
secondary
#A6B854
accent
#E246C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37248C

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

Preview Lab → · Contrast checker → · Palette generator →

#37248C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva