#371A64#371A64

#371A64 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.123 H 296.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#371A64
RGBrgb(55, 26, 100)
HSLhsl(264, 59%, 25%)
HSVhsv(264, 74%, 39%)
CMYKcmyk(45%, 74%, 0%, 60.8%)
CIE-LABlab(17.79, 31.76, -38.45)
CIE-LCHlch(17.79, 49.87, 309.56°)
OKLaboklab(30.53% 0.0543 -0.1099)
OKLCHoklch(30.53% 0.123 296.3)
XYZxyz(4.2446, 2.4710, 12.3074)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A64 #47641A
analogous
#1A2264 #371A64 #5C1A64
triadic
#371A64 #64371A #1A6437
tetradic
#371A64 #641A22 #47641A #1A645C
square
#371A64 #641A22 #47641A #1A645C
split-complementary
#371A64 #645C1A #22641A
monochromatic
#0D0618 #1C0D33 #371A64 #522795 #6C33C5

Accessibility & contrast

On white

14.05
#371A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A64
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A64#FFFFFF#000000##FFFFFF
##371A641.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2B2C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371a64;
/* rgb */ color: rgb(55, 26, 100);
/* oklch */ color: oklch(30.5% 0.123 296.3);
Tailwind
colors: {
  custom: {
    50: '#735991',
    500: '#371a64',
    950: '#000000',
  },
}
SCSS
$custom: #371a64;
$custom-light: #735991;
$custom-dark: #000000;
JSON
{
  "hex": "#371a64",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 263.514,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.12259,
    "h": 296.3
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#371A64
secondary
#779A40
accent
#E246A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371A64

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

Preview Lab → · Contrast checker → · Palette generator →

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