#371A61#371A61

#371A61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.3% C 0.119 H 297.5°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#371A61
RGBrgb(55, 26, 97)
HSLhsl(265, 58%, 24%)
HSVhsv(265, 73%, 38%)
CMYKcmyk(43.3%, 73.2%, 0%, 62%)
CIE-LABlab(17.53, 30.88, -36.89)
CIE-LCHlch(17.53, 48.11, 309.93°)
OKLaboklab(30.26% 0.0549 -0.1053)
OKLCHoklch(30.26% 0.119 297.5)
XYZxyz(4.1021, 2.4140, 11.5568)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A61 #44611A
analogous
#1A2161 #371A61 #5B1A61
triadic
#371A61 #61371A #1A6137
tetradic
#371A61 #611A21 #44611A #1A615B
square
#371A61 #611A21 #44611A #1A615B
split-complementary
#371A61 #615B1A #21611A
monochromatic
#0E0618 #1C0D31 #371A61 #522791 #6E34C2

Accessibility & contrast

On white

14.16
#371A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A61
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A61#FFFFFF#000000##FFFFFF
##371A611.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#2D2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371a61;
/* rgb */ color: rgb(55, 26, 97);
/* oklch */ color: oklch(30.3% 0.119 297.5);
Tailwind
colors: {
  custom: {
    50: '#72598e',
    500: '#371a61',
    950: '#000000',
  },
}
SCSS
$custom: #371a61;
$custom-light: #72598e;
$custom-dark: #000000;
JSON
{
  "hex": "#371a61",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 264.507,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3026,
    "c": 0.11877,
    "h": 297.5
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#371A61
secondary
#739740
accent
#E147A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371A61

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

Preview Lab → · Contrast checker → · Palette generator →

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