#37256E#37256E

#37256E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.2% C 0.120 H 289.5°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#37256E
RGBrgb(55, 37, 110)
HSLhsl(255, 50%, 29%)
HSVhsv(255, 66%, 43%)
CMYKcmyk(50%, 66.4%, 0%, 56.9%)
CIE-LABlab(21.06, 28.24, -39.65)
CIE-LCHlch(21.06, 48.68, 305.45°)
OKLaboklab(33.15% 0.0402 -0.1135)
OKLCHoklch(33.15% 0.12 289.5)
XYZxyz(5.0508, 3.2610, 15.1121)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37256E #5C6E25
analogous
#25386E #37256E #5C256E
triadic
#37256E #6E3725 #256E37
tetradic
#37256E #6E2538 #5C6E25 #256E5C
square
#37256E #6E2538 #5C6E25 #256E5C
split-complementary
#37256E #6E5C25 #386E25
monochromatic
#0B0817 #201640 #37256E #4E349C #684BC2

Accessibility & contrast

On white

12.71
#37256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#37256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37256E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37256E#FFFFFF#000000##FFFFFF
##37256E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#253645
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #37256e;
/* rgb */ color: rgb(55, 37, 110);
/* oklch */ color: oklch(33.2% 0.120 289.5);
Tailwind
colors: {
  custom: {
    50: '#736098',
    500: '#37256e',
    950: '#000000',
  },
}
SCSS
$custom: #37256e;
$custom-light: #736098;
$custom-dark: #000000;
JSON
{
  "hex": "#37256e",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 254.795,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33152,
    "c": 0.12039,
    "h": 289.5
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#37256E
secondary
#8CA14E
accent
#D94FB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #37256E

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

Preview Lab → · Contrast checker → · Palette generator →

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