#37195E#37195E

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

Color values

HEX#37195E
RGBrgb(55, 25, 94)
HSLhsl(266, 58%, 23%)
HSVhsv(266, 73%, 37%)
CMYKcmyk(41.5%, 73.4%, 0%, 63.1%)
CIE-LABlab(17.06, 30.57, -35.65)
CIE-LCHlch(17.06, 46.97, 310.62°)
OKLaboklab(29.85% 0.0566 -0.1017)
OKLCHoklch(29.85% 0.116 299.1)
XYZxyz(3.9431, 2.3156, 10.8267)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37195E #405E19
analogous
#191D5E #37195E #59195E
triadic
#37195E #5E3719 #195E37
tetradic
#37195E #5E191D #405E19 #195E59
square
#37195E #5E191D #405E19 #195E59
split-complementary
#37195E #5E5919 #1D5E19
monochromatic
#0E0618 #1B0C2E #37195E #53268E #7033BF

Accessibility & contrast

On white

14.35
#37195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37195E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37195E#FFFFFF#000000##FFFFFF
##37195E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#2E2939
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37195e;
/* rgb */ color: rgb(55, 25, 94);
/* oklch */ color: oklch(29.8% 0.116 299.1);
Tailwind
colors: {
  custom: {
    50: '#72588c',
    500: '#37195e',
    950: '#000000',
  },
}
SCSS
$custom: #37195e;
$custom-light: #72588c;
$custom-dark: #000000;
JSON
{
  "hex": "#37195e",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 266.087,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29849,
    "c": 0.11635,
    "h": 299.1
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#37195E
secondary
#6F943F
accent
#E1479E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37195E

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

Preview Lab → · Contrast checker → · Palette generator →

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