#37248B#37248B

#37248B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.160 H 283.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#37248B
RGBrgb(55, 36, 139)
HSLhsl(251, 59%, 34%)
HSVhsv(251, 74%, 55%)
CMYKcmyk(60.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(23.46, 38.13, -54.13)
CIE-LCHlch(23.46, 66.21, 305.16°)
OKLaboklab(35.69% 0.0364 -0.156)
OKLCHoklch(35.69% 0.16 283.1)
XYZxyz(6.8652, 3.9376, 24.8194)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37248B #788B24
analogous
#24458B #37248B #6B248B
triadic
#37248B #8B3724 #248B37
tetradic
#37248B #8B2445 #788B24 #248B6B
square
#37248B #8B2445 #788B24 #248B6B
split-complementary
#37248B #8B6B24 #458B24
monochromatic
#110B2A #24175A #37248B #4A31BC #6D56D3

Accessibility & contrast

On white

11.75
#37248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37248B
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37248B#FFFFFF#000000##FFFFFF
##37248B1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#014055
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #37248b;
/* rgb */ color: rgb(55, 36, 139);
/* oklch */ color: oklch(35.7% 0.160 283.1);
Tailwind
colors: {
  custom: {
    50: '#7861ae',
    500: '#37248b',
    950: '#000000',
  },
}
SCSS
$custom: #37248b;
$custom-light: #7861ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37248b",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 251.068,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.16015,
    "h": 283.1
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#37248B
secondary
#A5B753
accent
#E246C5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37248B

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

Preview Lab → · Contrast checker → · Palette generator →

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