#37196C#37196C

#37196C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.134 H 293.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#37196C
RGBrgb(55, 25, 108)
HSLhsl(262, 62%, 26%)
HSVhsv(262, 77%, 42%)
CMYKcmyk(49.1%, 76.9%, 0%, 57.6%)
CIE-LABlab(18.32, 34.66, -42.82)
CIE-LCHlch(18.32, 55.09, 308.99°)
OKLaboklab(31.13% 0.0536 -0.1227)
OKLCHoklch(31.13% 0.134 293.6)
XYZxyz(4.6292, 2.5901, 14.4405)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37196C #4E6C19
analogous
#19246C #37196C #60196C
triadic
#37196C #6C3719 #196C37
tetradic
#37196C #6C1924 #4E6C19 #196C60
square
#37196C #6C1924 #4E6C19 #196C60
split-complementary
#37196C #6C6019 #246C19
monochromatic
#0D0619 #1E0D3A #37196C #50259E #6A30CF

Accessibility & contrast

On white

13.83
#37196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#37196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37196C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37196C#FFFFFF#000000##FFFFFF
##37196C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#272F41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #37196c;
/* rgb */ color: rgb(55, 25, 108);
/* oklch */ color: oklch(31.1% 0.134 293.6);
Tailwind
colors: {
  custom: {
    50: '#745997',
    500: '#37196c',
    950: '#000000',
  },
}
SCSS
$custom: #37196c;
$custom-light: #745997;
$custom-dark: #000000;
JSON
{
  "hex": "#37196c",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 261.687,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31134,
    "c": 0.13393,
    "h": 293.6
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#37196C
secondary
#7EA13F
accent
#E542AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #37196C

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

Preview Lab → · Contrast checker → · Palette generator →

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