#371A62#371A62

#371A62 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.120 H 297.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#371A62
RGBrgb(55, 26, 98)
HSLhsl(264, 58%, 24%)
HSVhsv(264, 73%, 38%)
CMYKcmyk(43.9%, 73.5%, 0%, 61.6%)
CIE-LABlab(17.61, 31.17, -37.41)
CIE-LCHlch(17.61, 48.70, 309.80°)
OKLaboklab(30.35% 0.0547 -0.1069)
OKLCHoklch(30.35% 0.12 297.1)
XYZxyz(4.1490, 2.4328, 11.8039)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A62 #45621A
analogous
#1A2162 #371A62 #5B1A62
triadic
#371A62 #62371A #1A6237
tetradic
#371A62 #621A21 #45621A #1A625B
square
#371A62 #621A21 #45621A #1A625B
split-complementary
#371A62 #625B1A #21621A
monochromatic
#0E0618 #1C0D32 #371A62 #522792 #6D34C3

Accessibility & contrast

On white

14.13
#371A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371A62
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A62#FFFFFF#000000##FFFFFF
##371A621.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2C2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371a62;
/* rgb */ color: rgb(55, 26, 98);
/* oklch */ color: oklch(30.3% 0.120 297.1);
Tailwind
colors: {
  custom: {
    50: '#72598f',
    500: '#371a62',
    950: '#000000',
  },
}
SCSS
$custom: #371a62;
$custom-light: #72598f;
$custom-dark: #000000;
JSON
{
  "hex": "#371a62",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 264.167,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30349,
    "c": 0.12004,
    "h": 297.1
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#371A62
secondary
#749840
accent
#E147A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371A62

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

Preview Lab → · Contrast checker → · Palette generator →

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