#37215D#37215D

#37215D is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.103 H 296.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#37215D
RGBrgb(55, 33, 93)
HSLhsl(262, 48%, 25%)
HSVhsv(262, 65%, 36%)
CMYKcmyk(40.9%, 64.5%, 0%, 63.5%)
CIE-LABlab(18.76, 25.46, -32.24)
CIE-LCHlch(18.76, 41.08, 308.30°)
OKLaboklab(31.05% 0.0465 -0.0917)
OKLCHoklch(31.05% 0.103 296.9)
XYZxyz(4.0947, 2.6902, 10.6573)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37215D #475D21
analogous
#21295D #37215D #55215D
triadic
#37215D #5D3721 #215D37
tetradic
#37215D #5D2129 #475D21 #215D55
square
#37215D #5D2129 #475D21 #215D55
split-complementary
#37215D #5D5521 #295D21
monochromatic
#0D0817 #1C1130 #37215D #52318A #6C41B7

Accessibility & contrast

On white

13.65
#37215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#37215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37215D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37215D#FFFFFF#000000##FFFFFF
##37215D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#072D5C
Tritanopia (blue-blind)
#2E2E3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37215d;
/* rgb */ color: rgb(55, 33, 93);
/* oklch */ color: oklch(31.0% 0.103 296.9);
Tailwind
colors: {
  custom: {
    50: '#715d8b',
    500: '#37215d',
    950: '#000000',
  },
}
SCSS
$custom: #37215d;
$custom-light: #715d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#37215d",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 262,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31048,
    "c": 0.10279,
    "h": 296.9
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#37215D
secondary
#779149
accent
#D751A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #37215D

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

Preview Lab → · Contrast checker → · Palette generator →

#37215D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva