#37206E#37206E

#37206E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.127 H 291.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#37206E
RGBrgb(55, 32, 110)
HSLhsl(258, 55%, 28%)
HSVhsv(258, 71%, 43%)
CMYKcmyk(50%, 70.9%, 0%, 56.9%)
CIE-LABlab(19.93, 31.30, -41.50)
CIE-LCHlch(19.93, 51.98, 307.03°)
OKLaboklab(32.33% 0.0459 -0.1189)
OKLCHoklch(32.33% 0.127 291.1)
XYZxyz(4.9057, 2.9709, 15.0638)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37206E #576E20
analogous
#20306E #37206E #5E206E
triadic
#37206E #6E3720 #206E37
tetradic
#37206E #6E2030 #576E20 #206E5E
square
#37206E #6E2030 #576E20 #206E5E
split-complementary
#37206E #6E5E20 #306E20
monochromatic
#0C0718 #1F123F #37206E #4F2E9D #6941C8

Accessibility & contrast

On white

13.17
#37206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#37206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37206E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37206E#FFFFFF#000000##FFFFFF
##37206E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#263344
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37206e;
/* rgb */ color: rgb(55, 32, 110);
/* oklch */ color: oklch(32.3% 0.127 291.1);
Tailwind
colors: {
  custom: {
    50: '#735d98',
    500: '#37206e',
    950: '#000000',
  },
}
SCSS
$custom: #37206e;
$custom-light: #735d98;
$custom-dark: #000000;
JSON
{
  "hex": "#37206e",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 257.692,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.12744,
    "h": 291.1
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#37206E
secondary
#87A248
accent
#DE4AB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #37206E

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

Preview Lab → · Contrast checker → · Palette generator →

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