#371867#371867

#371867 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.129 H 295.6°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#371867
RGBrgb(55, 24, 103)
HSLhsl(264, 62%, 25%)
HSVhsv(264, 77%, 40%)
CMYKcmyk(46.6%, 76.7%, 0%, 59.6%)
CIE-LABlab(17.67, 33.73, -40.62)
CIE-LCHlch(17.67, 52.80, 309.71°)
OKLaboklab(30.53% 0.0558 -0.1163)
OKLCHoklch(30.53% 0.129 295.6)
XYZxyz(4.3497, 2.4447, 13.0720)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371867 #486718
analogous
#182167 #371867 #5E1867
triadic
#371867 #673718 #186737
tetradic
#371867 #671821 #486718 #18675E
square
#371867 #671821 #486718 #18675E
split-complementary
#371867 #675E18 #216718
monochromatic
#0D0619 #1C0C35 #371867 #522499 #6C2FCA

Accessibility & contrast

On white

14.10
#371867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371867
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371867#FFFFFF#000000##FFFFFF
##3718671.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2A2C3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371867;
/* rgb */ color: rgb(55, 24, 103);
/* oklch */ color: oklch(30.5% 0.129 295.6);
Tailwind
colors: {
  custom: {
    50: '#735893',
    500: '#371867',
    950: '#000000',
  },
}
SCSS
$custom: #371867;
$custom-light: #735893;
$custom-dark: #000000;
JSON
{
  "hex": "#371867",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 263.544,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.12897,
    "h": 295.6
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#371867
secondary
#789D3E
accent
#E543A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371867

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

Preview Lab → · Contrast checker → · Palette generator →

#371867 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva