#371870#371870

#371870 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.140 H 292.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#371870
RGBrgb(55, 24, 112)
HSLhsl(261, 65%, 27%)
HSVhsv(261, 79%, 44%)
CMYKcmyk(50.9%, 78.6%, 0%, 56.1%)
CIE-LABlab(18.52, 36.36, -45.09)
CIE-LCHlch(18.52, 57.92, 308.88°)
OKLaboklab(31.39% 0.0535 -0.1294)
OKLCHoklch(31.39% 0.14 292.4)
XYZxyz(4.8260, 2.6352, 15.5805)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371870 #517018
analogous
#182570 #371870 #631870
triadic
#371870 #703718 #187037
tetradic
#371870 #701825 #517018 #187063
square
#371870 #701825 #517018 #187063
split-complementary
#371870 #706318 #257018
monochromatic
#0C0519 #1E0D3E #371870 #5023A2 #6930D3

Accessibility & contrast

On white

13.75
#371870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371870
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371870#FFFFFF#000000##FFFFFF
##3718701.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#253043
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371870;
/* rgb */ color: rgb(55, 24, 112);
/* oklch */ color: oklch(31.4% 0.140 292.4);
Tailwind
colors: {
  custom: {
    50: '#75589a',
    500: '#371870',
    950: '#000000',
  },
}
SCSS
$custom: #371870;
$custom-light: #75589a;
$custom-dark: #000000;
JSON
{
  "hex": "#371870",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 261.136,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.14,
    "h": 292.4
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#371870
secondary
#81A53E
accent
#E840AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371870

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

Preview Lab → · Contrast checker → · Palette generator →

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