#37195B#37195B

#37195B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.113 H 300.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#37195B
RGBrgb(55, 25, 91)
HSLhsl(267, 57%, 23%)
HSVhsv(267, 73%, 36%)
CMYKcmyk(39.6%, 72.5%, 0%, 64.3%)
CIE-LABlab(16.81, 29.71, -34.06)
CIE-LCHlch(16.81, 45.20, 311.10°)
OKLaboklab(29.59% 0.057 -0.097)
OKLCHoklch(29.59% 0.113 300.5)
XYZxyz(3.8110, 2.2628, 10.1315)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37195B #3D5B19
analogous
#191C5B #37195B #58195B
triadic
#37195B #5B3719 #195B37
tetradic
#37195B #5B191C #3D5B19 #195B58
square
#37195B #5B191C #3D5B19 #195B58
split-complementary
#37195B #5B5819 #1C5B19
monochromatic
#0F0718 #1A0C2B #37195B #54268B #7133BB

Accessibility & contrast

On white

14.46
#37195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#37195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37195B
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37195B#FFFFFF#000000##FFFFFF
##37195B1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#2F2837
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37195b;
/* rgb */ color: rgb(55, 25, 91);
/* oklch */ color: oklch(29.6% 0.113 300.5);
Tailwind
colors: {
  custom: {
    50: '#71588a',
    500: '#37195b',
    950: '#000000',
  },
}
SCSS
$custom: #37195b;
$custom-light: #71588a;
$custom-dark: #000000;
JSON
{
  "hex": "#37195b",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 267.273,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.11253,
    "h": 300.5
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#37195B
secondary
#6C913F
accent
#E0489B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37195B

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

Preview Lab → · Contrast checker → · Palette generator →

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