#371967#371967

#371967 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.128 H 295.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#371967
RGBrgb(55, 25, 103)
HSLhsl(263, 61%, 25%)
HSVhsv(263, 76%, 40%)
CMYKcmyk(46.6%, 75.7%, 0%, 59.6%)
CIE-LABlab(17.86, 33.19, -40.30)
CIE-LCHlch(17.86, 52.21, 309.47°)
OKLaboklab(30.66% 0.0548 -0.1154)
OKLCHoklch(30.66% 0.128 295.4)
XYZxyz(4.3707, 2.4867, 13.0790)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371967 #496719
analogous
#192267 #371967 #5E1967
triadic
#371967 #673719 #196737
tetradic
#371967 #671922 #496719 #19675E
square
#371967 #671922 #496719 #19675E
split-complementary
#371967 #675E19 #226719
monochromatic
#0D0619 #1D0D36 #371967 #512598 #6C31C9

Accessibility & contrast

On white

14.02
#371967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371967
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371967#FFFFFF#000000##FFFFFF
##3719671.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#2A2D3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371967;
/* rgb */ color: rgb(55, 25, 103);
/* oklch */ color: oklch(30.7% 0.128 295.4);
Tailwind
colors: {
  custom: {
    50: '#735993',
    500: '#371967',
    950: '#000000',
  },
}
SCSS
$custom: #371967;
$custom-light: #735993;
$custom-dark: #000000;
JSON
{
  "hex": "#371967",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 263.077,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30663,
    "c": 0.1277,
    "h": 295.4
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#371967
secondary
#799D3F
accent
#E444A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371967

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

Preview Lab → · Contrast checker → · Palette generator →

#371967 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva