#371A68#371A68

#371A68 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.128 H 294.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#371A68
RGBrgb(55, 26, 104)
HSLhsl(262, 60%, 25%)
HSVhsv(262, 75%, 41%)
CMYKcmyk(47.1%, 75%, 0%, 59.2%)
CIE-LABlab(18.14, 32.94, -40.49)
CIE-LCHlch(18.14, 52.20, 309.13°)
OKLaboklab(30.9% 0.0535 -0.1159)
OKLCHoklch(30.9% 0.128 294.8)
XYZxyz(4.4430, 2.5504, 13.3522)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A68 #4B681A
analogous
#1A2468 #371A68 #5E1A68
triadic
#371A68 #68371A #1A6837
tetradic
#371A68 #681A24 #4B681A #1A685E
square
#371A68 #681A24 #4B681A #1A685E
split-complementary
#371A68 #685E1A #24681A
monochromatic
#0D0618 #1D0E37 #371A68 #512699 #6B32CA

Accessibility & contrast

On white

13.91
#371A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A68
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A68#FFFFFF#000000##FFFFFF
##371A681.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371a68;
/* rgb */ color: rgb(55, 26, 104);
/* oklch */ color: oklch(30.9% 0.128 294.8);
Tailwind
colors: {
  custom: {
    50: '#735994',
    500: '#371a68',
    950: '#000000',
  },
}
SCSS
$custom: #371a68;
$custom-light: #735994;
$custom-dark: #000000;
JSON
{
  "hex": "#371a68",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 262.308,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30895,
    "c": 0.12766,
    "h": 294.8
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#371A68
secondary
#7B9D40
accent
#E345A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371A68

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

Preview Lab → · Contrast checker → · Palette generator →

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