#37216C#37216C

#37216C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.123 H 291.4°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#37216C
RGBrgb(55, 33, 108)
HSLhsl(258, 53%, 28%)
HSVhsv(258, 69%, 42%)
CMYKcmyk(49.1%, 69.4%, 0%, 57.6%)
CIE-LABlab(19.97, 30.08, -40.12)
CIE-LCHlch(19.97, 50.15, 306.86°)
OKLaboklab(32.31% 0.0451 -0.1148)
OKLCHoklch(32.31% 0.123 291.4)
XYZxyz(4.8254, 2.9825, 14.5059)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37216C #566C21
analogous
#21316C #37216C #5C216C
triadic
#37216C #6C3721 #216C37
tetradic
#37216C #6C2131 #566C21 #216C5C
square
#37216C #6C2131 #566C21 #216C5C
split-complementary
#37216C #6C5C21 #316C21
monochromatic
#0C0717 #1F133D #37216C #4F2F9B #6942C5

Accessibility & contrast

On white

13.15
#37216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#37216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37216C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37216C#FFFFFF#000000##FFFFFF
##37216C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#273343
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37216c;
/* rgb */ color: rgb(55, 33, 108);
/* oklch */ color: oklch(32.3% 0.123 291.4);
Tailwind
colors: {
  custom: {
    50: '#735e97',
    500: '#37216c',
    950: '#000000',
  },
}
SCSS
$custom: #37216c;
$custom-light: #735e97;
$custom-dark: #000000;
JSON
{
  "hex": "#37216c",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 257.6,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.12338,
    "h": 291.4
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#37216C
secondary
#86A049
accent
#DD4BB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #37216C

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

Preview Lab → · Contrast checker → · Palette generator →

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