#37196F#37196F

#37196F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.138 H 292.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#37196F
RGBrgb(55, 25, 111)
HSLhsl(261, 63%, 27%)
HSVhsv(261, 77%, 44%)
CMYKcmyk(50.5%, 77.5%, 0%, 56.5%)
CIE-LABlab(18.61, 35.55, -44.30)
CIE-LCHlch(18.61, 56.80, 308.74°)
OKLaboklab(31.42% 0.0528 -0.1271)
OKLCHoklch(31.42% 0.138 292.6)
XYZxyz(4.7916, 2.6550, 15.2958)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37196F #516F19
analogous
#19266F #37196F #62196F
triadic
#37196F #6F3719 #196F37
tetradic
#37196F #6F1926 #516F19 #196F62
square
#37196F #6F1926 #516F19 #196F62
split-complementary
#37196F #6F6219 #266F19
monochromatic
#0C0619 #1E0E3D #37196F #5024A1 #6932D1

Accessibility & contrast

On white

13.72
#37196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#37196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37196F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37196F#FFFFFF#000000##FFFFFF
##37196F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#253042
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #37196f;
/* rgb */ color: rgb(55, 25, 111);
/* oklch */ color: oklch(31.4% 0.138 292.6);
Tailwind
colors: {
  custom: {
    50: '#745999',
    500: '#37196f',
    950: '#000000',
  },
}
SCSS
$custom: #37196f;
$custom-light: #745999;
$custom-dark: #000000;
JSON
{
  "hex": "#37196f",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 260.93,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31423,
    "c": 0.13762,
    "h": 292.6
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#37196F
secondary
#81A43F
accent
#E642AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #37196F

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

Preview Lab → · Contrast checker → · Palette generator →

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