#37198D#37198D

#37198D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.174 H 284.5°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#37198D
RGBrgb(55, 25, 141)
HSLhsl(256, 70%, 33%)
HSVhsv(256, 82%, 55%)
CMYKcmyk(61%, 82.3%, 0%, 44.7%)
CIE-LABlab(21.69, 44.39, -58.30)
CIE-LCHlch(21.69, 73.28, 307.29°)
OKLaboklab(34.51% 0.0435 -0.168)
OKLCHoklch(34.51% 0.174 284.5)
XYZxyz(6.7294, 3.4301, 25.5016)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37198D #6F8D19
analogous
#19358D #37198D #71198D
triadic
#37198D #8D3719 #198D37
tetradic
#37198D #8D1935 #6F8D19 #198D71
square
#37198D #8D1935 #6F8D19 #198D71
split-complementary
#37198D #8D7119 #358D19
monochromatic
#0E0725 #231059 #37198D #4B22C1 #6B43DE

Accessibility & contrast

On white

12.45
#37198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#37198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37198D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37198D#FFFFFF#000000##FFFFFF
##37198D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37198d;
/* rgb */ color: rgb(55, 25, 141);
/* oklch */ color: oklch(34.5% 0.174 284.5);
Tailwind
colors: {
  custom: {
    50: '#7a5bb0',
    500: '#37198d',
    950: '#000000',
  },
}
SCSS
$custom: #37198d;
$custom-light: #7a5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#37198d",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 255.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34507,
    "c": 0.17358,
    "h": 284.5
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#37198D
secondary
#9FBF43
accent
#ED3BBF
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #37198D

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

Preview Lab → · Contrast checker → · Palette generator →

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