#371B67#371B67

#371B67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.125 H 294.9°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#371B67
RGBrgb(55, 27, 103)
HSLhsl(262, 58%, 25%)
HSVhsv(262, 74%, 40%)
CMYKcmyk(46.6%, 73.8%, 0%, 59.6%)
CIE-LABlab(18.26, 32.08, -39.66)
CIE-LCHlch(18.26, 51.01, 308.97°)
OKLaboklab(30.95% 0.0526 -0.1135)
OKLCHoklch(30.95% 0.125 294.9)
XYZxyz(4.4150, 2.5753, 13.0938)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B67 #4B671B
analogous
#1B2567 #371B67 #5D1B67
triadic
#371B67 #67371B #1B6737
tetradic
#371B67 #671B25 #4B671B #1B675D
square
#371B67 #671B25 #4B671B #1B675D
split-complementary
#371B67 #675D1B #25671B
monochromatic
#0D0618 #1D0E37 #371B67 #512897 #6B34C8

Accessibility & contrast

On white

13.86
#371B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371B67
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B67#FFFFFF#000000##FFFFFF
##371B671.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#2A2E3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371b67;
/* rgb */ color: rgb(55, 27, 103);
/* oklch */ color: oklch(30.9% 0.125 294.9);
Tailwind
colors: {
  custom: {
    50: '#735a93',
    500: '#371b67',
    950: '#000000',
  },
}
SCSS
$custom: #371b67;
$custom-light: #735a93;
$custom-dark: #000000;
JSON
{
  "hex": "#371b67",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 262.105,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.12507,
    "h": 294.9
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#371B67
secondary
#7B9C42
accent
#E246A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371B67

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

Preview Lab → · Contrast checker → · Palette generator →

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