#37196B#37196B

#37196B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.133 H 293.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#37196B
RGBrgb(55, 25, 107)
HSLhsl(262, 62%, 26%)
HSVhsv(262, 77%, 42%)
CMYKcmyk(48.6%, 76.6%, 0%, 58%)
CIE-LABlab(18.23, 34.37, -42.32)
CIE-LCHlch(18.23, 54.52, 309.08°)
OKLaboklab(31.04% 0.0538 -0.1213)
OKLCHoklch(31.04% 0.133 293.9)
XYZxyz(4.5763, 2.5689, 14.1618)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37196B #4D6B19
analogous
#19246B #37196B #60196B
triadic
#37196B #6B3719 #196B37
tetradic
#37196B #6B1924 #4D6B19 #196B60
square
#37196B #6B1924 #4D6B19 #196B60
split-complementary
#37196B #6B6019 #246B19
monochromatic
#0D0619 #1D0D39 #37196B #50259D #6A30CE

Accessibility & contrast

On white

13.87
#37196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#37196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37196B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37196B#FFFFFF#000000##FFFFFF
##37196B1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#282E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37196b;
/* rgb */ color: rgb(55, 25, 107);
/* oklch */ color: oklch(31.0% 0.133 293.9);
Tailwind
colors: {
  custom: {
    50: '#745996',
    500: '#37196b',
    950: '#000000',
  },
}
SCSS
$custom: #37196b;
$custom-light: #745996;
$custom-dark: #000000;
JSON
{
  "hex": "#37196b",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 261.951,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31039,
    "c": 0.13268,
    "h": 293.9
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#37196B
secondary
#7DA13F
accent
#E543AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37196B

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

Preview Lab → · Contrast checker → · Palette generator →

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