#371758#371758

#371758 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.112 H 302.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#371758
RGBrgb(55, 23, 88)
HSLhsl(270, 59%, 22%)
HSVhsv(270, 74%, 35%)
CMYKcmyk(37.5%, 73.9%, 0%, 65.5%)
CIE-LABlab(16.15, 29.99, -33.11)
CIE-LCHlch(16.15, 44.68, 312.17°)
OKLaboklab(29.04% 0.0599 -0.0942)
OKLCHoklch(29.04% 0.112 302.5)
XYZxyz(3.6430, 2.1296, 9.4498)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371758 #385817
analogous
#171858 #371758 #581758
triadic
#371758 #583717 #175837
tetradic
#371758 #581718 #385817 #175858
square
#371758 #581718 #385817 #175858
split-complementary
#371758 #585817 #185817
monochromatic
#0F0618 #190A27 #371758 #552489 #7430B9

Accessibility & contrast

On white

14.73
#371758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371758
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371758#FFFFFF#000000##FFFFFF
##3717581.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#302635
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371758;
/* rgb */ color: rgb(55, 23, 88);
/* oklch */ color: oklch(29.0% 0.112 302.5);
Tailwind
colors: {
  custom: {
    50: '#715788',
    500: '#371758',
    950: '#000000',
  },
}
SCSS
$custom: #371758;
$custom-light: #715788;
$custom-dark: #000000;
JSON
{
  "hex": "#371758",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 269.538,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29039,
    "c": 0.11166,
    "h": 302.5
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#371758
secondary
#668F3C
accent
#E24695
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371758

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

Preview Lab → · Contrast checker → · Palette generator →

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