#37216F#37216F

#37216F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.127 H 290.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#37216F
RGBrgb(55, 33, 111)
HSLhsl(257, 54%, 28%)
HSVhsv(257, 70%, 44%)
CMYKcmyk(50.5%, 70.3%, 0%, 56.5%)
CIE-LABlab(20.23, 31.02, -41.65)
CIE-LCHlch(20.23, 51.93, 306.68°)
OKLaboklab(32.58% 0.0447 -0.1193)
OKLCHoklch(32.58% 0.127 290.5)
XYZxyz(4.9878, 3.0474, 15.3613)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37216F #596F21
analogous
#21326F #37216F #5E216F
triadic
#37216F #6F3721 #216F37
tetradic
#37216F #6F2132 #596F21 #216F5E
square
#37216F #6F2132 #596F21 #216F5E
split-complementary
#37216F #6F5E21 #326F21
monochromatic
#0C0718 #201340 #37216F #4E2F9E #6843C7

Accessibility & contrast

On white

13.05
#37216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#37216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37216F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37216F#FFFFFF#000000##FFFFFF
##37216F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#253445
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #37216f;
/* rgb */ color: rgb(55, 33, 111);
/* oklch */ color: oklch(32.6% 0.127 290.5);
Tailwind
colors: {
  custom: {
    50: '#745e99',
    500: '#37216f',
    950: '#000000',
  },
}
SCSS
$custom: #37216f;
$custom-light: #745e99;
$custom-dark: #000000;
JSON
{
  "hex": "#37216f",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 256.923,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.12741,
    "h": 290.5
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#37216F
secondary
#89A349
accent
#DE4AB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #37216F

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

Preview Lab → · Contrast checker → · Palette generator →

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