#371358#371358

#371358 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.117 H 303.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#371358
RGBrgb(55, 19, 88)
HSLhsl(271, 64%, 21%)
HSVhsv(271, 78%, 35%)
CMYKcmyk(37.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(15.40, 32.11, -34.34)
CIE-LCHlch(15.40, 47.02, 313.08°)
OKLaboklab(28.5% 0.0646 -0.0978)
OKLCHoklch(28.5% 0.117 303.4)
XYZxyz(3.5695, 1.9826, 9.4252)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371358 #345813
analogous
#141358 #371358 #581356
triadic
#371358 #583713 #135837
tetradic
#371358 #581413 #345813 #135658
square
#371358 #581413 #345813 #135658
split-complementary
#371358 #565813 #135814
monochromatic
#100519 #180826 #371358 #561E8A #7629BD

Accessibility & contrast

On white

15.04
#371358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371358
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371358#FFFFFF#000000##FFFFFF
##3713581.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#302434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371358;
/* rgb */ color: rgb(55, 19, 88);
/* oklch */ color: oklch(28.5% 0.117 303.4);
Tailwind
colors: {
  custom: {
    50: '#725488',
    500: '#371358',
    950: '#000000',
  },
}
SCSS
$custom: #371358;
$custom-light: #725488;
$custom-dark: #000000;
JSON
{
  "hex": "#371358",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 271.304,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.285,
    "c": 0.11721,
    "h": 303.4
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#371358
secondary
#619037
accent
#E74090
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371358

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

Preview Lab → · Contrast checker → · Palette generator →

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