#371A70#371A70

#371A70 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.138 H 292.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#371A70
RGBrgb(55, 26, 112)
HSLhsl(260, 62%, 27%)
HSVhsv(260, 77%, 44%)
CMYKcmyk(50.9%, 76.8%, 0%, 56.1%)
CIE-LABlab(18.89, 35.31, -44.49)
CIE-LCHlch(18.89, 56.80, 308.44°)
OKLaboklab(31.65% 0.0516 -0.1276)
OKLCHoklch(31.65% 0.138 292)
XYZxyz(4.8688, 2.7207, 15.5947)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A70 #53701A
analogous
#1A2870 #371A70 #621A70
triadic
#371A70 #70371A #1A7037
tetradic
#371A70 #701A28 #53701A #1A7062
square
#371A70 #701A28 #53701A #1A7062
split-complementary
#371A70 #70621A #28701A
monochromatic
#0C0619 #1F0E3E #371A70 #4F26A2 #6934D0

Accessibility & contrast

On white

13.60
#371A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A70
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A70#FFFFFF#000000##FFFFFF
##371A701.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#253143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371a70;
/* rgb */ color: rgb(55, 26, 112);
/* oklch */ color: oklch(31.7% 0.138 292.0);
Tailwind
colors: {
  custom: {
    50: '#745a9a',
    500: '#371a70',
    950: '#000000',
  },
}
SCSS
$custom: #371a70;
$custom-light: #745a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#371a70",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 260.233,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.13768,
    "h": 292
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#371A70
secondary
#83A541
accent
#E542AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371A70

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

Preview Lab → · Contrast checker → · Palette generator →

#371A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva