#371968#371968

#371968 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.129 H 295.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#371968
RGBrgb(55, 25, 104)
HSLhsl(263, 61%, 25%)
HSVhsv(263, 76%, 41%)
CMYKcmyk(47.1%, 76%, 0%, 59.2%)
CIE-LABlab(17.95, 33.49, -40.81)
CIE-LCHlch(17.95, 52.79, 309.37°)
OKLaboklab(30.76% 0.0545 -0.1168)
OKLCHoklch(30.76% 0.129 295)
XYZxyz(4.4212, 2.5068, 13.3449)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371968 #4A6819
analogous
#192268 #371968 #5E1968
triadic
#371968 #683719 #196837
tetradic
#371968 #681922 #4A6819 #19685E
square
#371968 #681922 #4A6819 #19685E
split-complementary
#371968 #685E19 #226819
monochromatic
#0D0619 #1D0D37 #371968 #512599 #6B31CB

Accessibility & contrast

On white

13.99
#371968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371968
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371968#FFFFFF#000000##FFFFFF
##3719681.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#292D3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371968;
/* rgb */ color: rgb(55, 25, 104);
/* oklch */ color: oklch(30.8% 0.129 295.0);
Tailwind
colors: {
  custom: {
    50: '#735994',
    500: '#371968',
    950: '#000000',
  },
}
SCSS
$custom: #371968;
$custom-light: #735994;
$custom-dark: #000000;
JSON
{
  "hex": "#371968",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 262.785,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30756,
    "c": 0.12895,
    "h": 295
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#371968
secondary
#7A9E3F
accent
#E443A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371968

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

Preview Lab → · Contrast checker → · Palette generator →

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