#37197D#37197D

#37197D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.155 H 288.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#37197D
RGBrgb(55, 25, 125)
HSLhsl(258, 67%, 29%)
HSVhsv(258, 80%, 49%)
CMYKcmyk(56%, 80%, 0%, 51%)
CIE-LABlab(20.00, 39.68, -51.02)
CIE-LCHlch(20.00, 64.63, 307.88°)
OKLaboklab(32.82% 0.0488 -0.1468)
OKLCHoklch(32.82% 0.155 288.4)
XYZxyz(5.6238, 2.9879, 19.6784)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37197D #5F7D19
analogous
#192D7D #37197D #69197D
triadic
#37197D #7D3719 #197D37
tetradic
#37197D #7D192D #5F7D19 #197D69
square
#37197D #7D192D #5F7D19 #197D69
split-complementary
#37197D #7D6919 #2D7D19
monochromatic
#0B051A #210F4A #37197D #4D23B0 #6939D7

Accessibility & contrast

On white

13.14
#37197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#37197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37197D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37197D#FFFFFF#000000##FFFFFF
##37197D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#1A364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37197d;
/* rgb */ color: rgb(55, 25, 125);
/* oklch */ color: oklch(32.8% 0.155 288.4);
Tailwind
colors: {
  custom: {
    50: '#775aa4',
    500: '#37197d',
    950: '#000000',
  },
}
SCSS
$custom: #37197d;
$custom-light: #775aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#37197d",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 258,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.15465,
    "h": 288.4
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#37197D
secondary
#8FB140
accent
#EA3EB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37197D

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

Preview Lab → · Contrast checker → · Palette generator →

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