#37205F#37205F

#37205F is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.107 H 296.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#37205F
RGBrgb(55, 32, 95)
HSLhsl(262, 50%, 25%)
HSVhsv(262, 66%, 37%)
CMYKcmyk(42.1%, 66.3%, 0%, 62.7%)
CIE-LABlab(18.68, 26.70, -33.70)
CIE-LCHlch(18.68, 42.99, 308.39°)
OKLaboklab(31.04% 0.0477 -0.096)
OKLCHoklch(31.04% 0.107 296.4)
XYZxyz(4.1571, 2.6714, 11.1209)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37205F #485F20
analogous
#20285F #37205F #57205F
triadic
#37205F #5F3720 #205F37
tetradic
#37205F #5F2028 #485F20 #205F57
square
#37205F #5F2028 #485F20 #205F57
split-complementary
#37205F #5F5720 #285F20
monochromatic
#0D0817 #1C1131 #37205F #522F8D #6C3FBB

Accessibility & contrast

On white

13.69
#37205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#37205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37205F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37205F#FFFFFF#000000##FFFFFF
##37205F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#012D5E
Tritanopia (blue-blind)
#2D2E3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #37205f;
/* rgb */ color: rgb(55, 32, 95);
/* oklch */ color: oklch(31.0% 0.107 296.4);
Tailwind
colors: {
  custom: {
    50: '#715d8d',
    500: '#37205f',
    950: '#000000',
  },
}
SCSS
$custom: #37205f;
$custom-light: #715d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#37205f",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 261.905,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.10717,
    "h": 296.4
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#37205F
secondary
#789347
accent
#D94FA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #37205F

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

Preview Lab → · Contrast checker → · Palette generator →

#37205F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva