#37258B#37258B

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

Color values

HEX#37258B
RGBrgb(55, 37, 139)
HSLhsl(251, 58%, 35%)
HSVhsv(251, 73%, 55%)
CMYKcmyk(60.4%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.67, 37.56, -53.80)
CIE-LCHlch(23.67, 65.61, 304.92°)
OKLaboklab(35.83% 0.0356 -0.155)
OKLCHoklch(35.83% 0.159 282.9)
XYZxyz(6.8959, 3.9990, 24.8296)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37258B #798B25
analogous
#25468B #37258B #6A258B
triadic
#37258B #8B3725 #258B37
tetradic
#37258B #8B2546 #798B25 #258B6A
square
#37258B #8B2546 #798B25 #258B6A
split-complementary
#37258B #8B6A25 #468B25
monochromatic
#110B2A #24185B #37258B #4A32BB #6E58D3

Accessibility & contrast

On white

11.67
#37258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#37258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37258B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37258B#FFFFFF#000000##FFFFFF
##37258B1.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)
#003C8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#014155
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #37258b;
/* rgb */ color: rgb(55, 37, 139);
/* oklch */ color: oklch(35.8% 0.159 282.9);
Tailwind
colors: {
  custom: {
    50: '#7861ae',
    500: '#37258b',
    950: '#000000',
  },
}
SCSS
$custom: #37258b;
$custom-light: #7861ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37258b",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 250.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.15901,
    "h": 282.9
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#37258B
secondary
#A6B755
accent
#E147C6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37258B

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

Preview Lab → · Contrast checker → · Palette generator →

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