#37248D#37248D

#37248D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.163 H 282.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#37248D
RGBrgb(55, 36, 141)
HSLhsl(251, 59%, 35%)
HSVhsv(251, 74%, 55%)
CMYKcmyk(61%, 74.5%, 0%, 44.7%)
CIE-LABlab(23.66, 38.76, -55.05)
CIE-LCHlch(23.66, 67.33, 305.15°)
OKLaboklab(35.89% 0.0359 -0.1587)
OKLCHoklch(35.89% 0.163 282.8)
XYZxyz(7.0127, 3.9966, 25.5960)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37248D #7A8D24
analogous
#24468D #37248D #6C248D
triadic
#37248D #8D3724 #248D37
tetradic
#37248D #8D2446 #7A8D24 #248D6C
square
#37248D #8D2446 #7A8D24 #248D6C
split-complementary
#37248D #8D6C24 #468D24
monochromatic
#110B2B #24185C #37248D #4A30BE #6E57D4

Accessibility & contrast

On white

11.67
#37248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#37248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37248D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37248D#FFFFFF#000000##FFFFFF
##37248D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37248d;
/* rgb */ color: rgb(55, 36, 141);
/* oklch */ color: oklch(35.9% 0.163 282.8);
Tailwind
colors: {
  custom: {
    50: '#7961af',
    500: '#37248d',
    950: '#000000',
  },
}
SCSS
$custom: #37248d;
$custom-light: #7961af;
$custom-dark: #000000;
JSON
{
  "hex": "#37248d",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 250.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.16268,
    "h": 282.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#37248D
secondary
#A6B854
accent
#E345C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #37248D

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

Preview Lab → · Contrast checker → · Palette generator →

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