#37195D#37195D

#37195D is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.115 H 299.5°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#37195D
RGBrgb(55, 25, 93)
HSLhsl(266, 58%, 23%)
HSVhsv(266, 73%, 36%)
CMYKcmyk(40.9%, 73.1%, 0%, 63.5%)
CIE-LABlab(16.98, 30.29, -35.12)
CIE-LCHlch(16.98, 46.38, 310.77°)
OKLaboklab(29.76% 0.0567 -0.1001)
OKLCHoklch(29.76% 0.115 299.5)
XYZxyz(3.8985, 2.2978, 10.5919)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37195D #3F5D19
analogous
#191D5D #37195D #59195D
triadic
#37195D #5D3719 #195D37
tetradic
#37195D #5D191D #3F5D19 #195D59
square
#37195D #5D191D #3F5D19 #195D59
split-complementary
#37195D #5D5919 #1D5D19
monochromatic
#0E0618 #1A0C2D #37195D #54268D #7033BD

Accessibility & contrast

On white

14.39
#37195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#37195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37195D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37195D#FFFFFF#000000##FFFFFF
##37195D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#2E2938
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37195d;
/* rgb */ color: rgb(55, 25, 93);
/* oklch */ color: oklch(29.8% 0.115 299.5);
Tailwind
colors: {
  custom: {
    50: '#72588b',
    500: '#37195d',
    950: '#000000',
  },
}
SCSS
$custom: #37195d;
$custom-light: #72588b;
$custom-dark: #000000;
JSON
{
  "hex": "#37195d",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 266.471,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29761,
    "c": 0.11508,
    "h": 299.5
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#37195D
secondary
#6E933F
accent
#E1479D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37195D

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

Preview Lab → · Contrast checker → · Palette generator →

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