#371359#371359

#371359 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.118 H 302.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#371359
RGBrgb(55, 19, 89)
HSLhsl(271, 65%, 21%)
HSVhsv(271, 79%, 35%)
CMYKcmyk(38.2%, 78.7%, 0%, 65.1%)
CIE-LABlab(15.48, 32.39, -34.87)
CIE-LCHlch(15.48, 47.59, 312.88°)
OKLaboklab(28.59% 0.0644 -0.0994)
OKLCHoklch(28.59% 0.118 302.9)
XYZxyz(3.6112, 1.9992, 9.6449)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371359 #355913
analogous
#141359 #371359 #591358
triadic
#371359 #593713 #135937
tetradic
#371359 #591413 #355913 #135859
square
#371359 #591413 #355913 #135859
split-complementary
#371359 #585913 #135914
monochromatic
#100519 #180827 #371359 #561E8B #7529BE

Accessibility & contrast

On white

15.00
#371359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#371359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371359
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371359#FFFFFF#000000##FFFFFF
##3713591.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#302435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371359;
/* rgb */ color: rgb(55, 19, 89);
/* oklch */ color: oklch(28.6% 0.118 302.9);
Tailwind
colors: {
  custom: {
    50: '#725488',
    500: '#371359',
    950: '#000000',
  },
}
SCSS
$custom: #371359;
$custom-light: #725488;
$custom-dark: #000000;
JSON
{
  "hex": "#371359",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 270.857,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28589,
    "c": 0.11839,
    "h": 302.9
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#371359
secondary
#639137
accent
#E84092
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371359

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

Preview Lab → · Contrast checker → · Palette generator →

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