#37258E#37258E

#37258E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.163 H 282.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#37258E
RGBrgb(55, 37, 142)
HSLhsl(250, 59%, 35%)
HSVhsv(250, 74%, 56%)
CMYKcmyk(61.3%, 73.9%, 0%, 44.3%)
CIE-LABlab(23.96, 38.51, -55.18)
CIE-LCHlch(23.96, 67.29, 304.91°)
OKLaboklab(36.13% 0.0349 -0.159)
OKLCHoklch(36.13% 0.163 282.4)
XYZxyz(7.1181, 4.0879, 25.9999)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37258E #7C8E25
analogous
#25478E #37258E #6C258E
triadic
#37258E #8E3725 #258E37
tetradic
#37258E #8E2547 #7C8E25 #258E6C
square
#37258E #8E2547 #7C8E25 #258E6C
split-complementary
#37258E #8E6C25 #478E25
monochromatic
#110C2D #24185D #37258E #4A32BF #6E5AD4

Accessibility & contrast

On white

11.55
#37258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#37258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37258E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37258E#FFFFFF#000000##FFFFFF
##37258E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #37258e;
/* rgb */ color: rgb(55, 37, 142);
/* oklch */ color: oklch(36.1% 0.163 282.4);
Tailwind
colors: {
  custom: {
    50: '#7962b0',
    500: '#37258e',
    950: '#000000',
  },
}
SCSS
$custom: #37258e;
$custom-light: #7962b0;
$custom-dark: #000000;
JSON
{
  "hex": "#37258e",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 250.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36129,
    "c": 0.16283,
    "h": 282.4
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#37258E
secondary
#A8B956
accent
#E246C7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #37258E

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

Preview Lab → · Contrast checker → · Palette generator →

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