#37258D#37258D

#37258D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.162 H 282.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#37258D
RGBrgb(55, 37, 141)
HSLhsl(250, 58%, 35%)
HSVhsv(250, 74%, 55%)
CMYKcmyk(61%, 73.8%, 0%, 44.7%)
CIE-LABlab(23.86, 38.19, -54.72)
CIE-LCHlch(23.86, 66.73, 304.91°)
OKLaboklab(36.03% 0.0351 -0.1577)
OKLCHoklch(36.03% 0.162 282.6)
XYZxyz(7.0433, 4.0580, 25.6063)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37258D #7B8D25
analogous
#25478D #37258D #6B258D
triadic
#37258D #8D3725 #258D37
tetradic
#37258D #8D2547 #7B8D25 #258D6B
square
#37258D #8D2547 #7B8D25 #258D6B
split-complementary
#37258D #8D6B25 #478D25
monochromatic
#110C2C #24185D #37258D #4A32BD #6E59D3

Accessibility & contrast

On white

11.59
#37258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#37258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37258D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37258D#FFFFFF#000000##FFFFFF
##37258D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37258d;
/* rgb */ color: rgb(55, 37, 141);
/* oklch */ color: oklch(36.0% 0.162 282.6);
Tailwind
colors: {
  custom: {
    50: '#7962af',
    500: '#37258d',
    950: '#000000',
  },
}
SCSS
$custom: #37258d;
$custom-light: #7962af;
$custom-dark: #000000;
JSON
{
  "hex": "#37258d",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 250.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.16156,
    "h": 282.6
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#37258D
secondary
#A7B856
accent
#E246C7
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #37258D

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

Preview Lab → · Contrast checker → · Palette generator →

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