#37258C#37258C

#37258C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.160 H 282.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#37258C
RGBrgb(55, 37, 140)
HSLhsl(250, 58%, 35%)
HSVhsv(250, 74%, 55%)
CMYKcmyk(60.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.76, 37.88, -54.26)
CIE-LCHlch(23.76, 66.17, 304.92°)
OKLaboklab(35.93% 0.0354 -0.1563)
OKLCHoklch(35.93% 0.16 282.7)
XYZxyz(6.9693, 4.0283, 25.2162)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37258C #7A8C25
analogous
#25478C #37258C #6A258C
triadic
#37258C #8C3725 #258C37
tetradic
#37258C #8C2547 #7A8C25 #258C6A
square
#37258C #8C2547 #7A8C25 #258C6A
split-complementary
#37258C #8C6A25 #478C25
monochromatic
#110B2B #24185C #37258C #4A32BC #6E58D3

Accessibility & contrast

On white

11.63
#37258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37258C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37258C#FFFFFF#000000##FFFFFF
##37258C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37258c;
/* rgb */ color: rgb(55, 37, 140);
/* oklch */ color: oklch(35.9% 0.160 282.7);
Tailwind
colors: {
  custom: {
    50: '#7862af',
    500: '#37258c',
    950: '#000000',
  },
}
SCSS
$custom: #37258c;
$custom-light: #7862af;
$custom-dark: #000000;
JSON
{
  "hex": "#37258c",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 250.485,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35932,
    "c": 0.16029,
    "h": 282.7
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#37258C
secondary
#A6B855
accent
#E146C6
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37258C

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

Preview Lab → · Contrast checker → · Palette generator →

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