#371890#371890

#371890 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.178 H 284.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#371890
RGBrgb(55, 24, 144)
HSLhsl(256, 71%, 33%)
HSVhsv(256, 83%, 56%)
CMYKcmyk(61.8%, 83.3%, 0%, 43.5%)
CIE-LABlab(21.87, 45.71, -59.87)
CIE-LCHlch(21.87, 75.33, 307.36°)
OKLaboklab(34.73% 0.0431 -0.1726)
OKLCHoklch(34.73% 0.178 284)
XYZxyz(6.9347, 3.4786, 26.6862)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371890 #719018
analogous
#183590 #371890 #731890
triadic
#371890 #903718 #189037
tetradic
#371890 #901835 #719018 #189073
square
#371890 #901835 #719018 #189073
split-complementary
#371890 #907318 #359018
monochromatic
#0F0727 #230F5C #371890 #4B21C4 #6B43E0

Accessibility & contrast

On white

12.38
#371890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#371890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371890
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371890#FFFFFF#000000##FFFFFF
##3718901.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #371890;
/* rgb */ color: rgb(55, 24, 144);
/* oklch */ color: oklch(34.7% 0.178 284.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bb2',
    500: '#371890',
    950: '#000000',
  },
}
SCSS
$custom: #371890;
$custom-light: #7a5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#371890",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 255.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.1779,
    "h": 284
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#371890
secondary
#A0C043
accent
#EE3AC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371890

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

Preview Lab → · Contrast checker → · Palette generator →

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