#371C95#371C95

#371C95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.180 H 282.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#371C95
RGBrgb(55, 28, 149)
HSLhsl(253, 68%, 35%)
HSVhsv(253, 81%, 58%)
CMYKcmyk(63.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(23.04, 45.36, -61.03)
CIE-LCHlch(23.04, 76.04, 306.62°)
OKLaboklab(35.7% 0.0391 -0.176)
OKLCHoklch(35.7% 0.18 282.5)
XYZxyz(7.4139, 3.8121, 28.7731)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C95 #7A951C
analogous
#1C3E95 #371C95 #731C95
triadic
#371C95 #95371C #1C9537
tetradic
#371C95 #951C3E #7A951C #1C9573
square
#371C95 #951C3E #7A951C #1C9573
split-complementary
#371C95 #95731C #3E951C
monochromatic
#11092E #241261 #371C95 #4A26C9 #6E4EDE

Accessibility & contrast

On white

11.91
#371C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#371C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C95
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C95#FFFFFF#000000##FFFFFF
##371C951.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371c95;
/* rgb */ color: rgb(55, 28, 149);
/* oklch */ color: oklch(35.7% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#7b5db5',
    500: '#371c95',
    950: '#000000',
  },
}
SCSS
$custom: #371c95;
$custom-light: #7b5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#371c95",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 253.388,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35701,
    "c": 0.18034,
    "h": 282.5
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#371C95
secondary
#A6C04D
accent
#EB3DC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #371C95

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

Preview Lab → · Contrast checker → · Palette generator →

#371C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva