#371070#371070

#371070 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.148 H 293.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#371070
RGBrgb(55, 16, 112)
HSLhsl(264, 75%, 25%)
HSVhsv(264, 86%, 44%)
CMYKcmyk(50.9%, 85.7%, 0%, 56.1%)
CIE-LABlab(17.24, 40.06, -47.20)
CIE-LCHlch(17.24, 61.90, 310.32°)
OKLaboklab(30.5% 0.0599 -0.1355)
OKLCHoklch(30.5% 0.148 293.9)
XYZxyz(4.6847, 2.3525, 15.5333)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371070 #497010
analogous
#101970 #371070 #671070
triadic
#371070 #703710 #107037
tetradic
#371070 #701019 #497010 #107067
square
#371070 #701019 #497010 #107067
split-complementary
#371070 #706710 #197010
monochromatic
#0D041B #1D083A #371070 #5118A6 #6C1FDB

Accessibility & contrast

On white

14.28
#371070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371070
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371070#FFFFFF#000000##FFFFFF
##3710701.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#252D41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371070;
/* rgb */ color: rgb(55, 16, 112);
/* oklch */ color: oklch(30.5% 0.148 293.9);
Tailwind
colors: {
  custom: {
    50: '#75559a',
    500: '#371070',
    950: '#000000',
  },
}
SCSS
$custom: #371070;
$custom-light: #75559a;
$custom-dark: #000000;
JSON
{
  "hex": "#371070",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 264.375,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30499,
    "c": 0.14814,
    "h": 293.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#371070
secondary
#79A834
accent
#F236A5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371070

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

Preview Lab → · Contrast checker → · Palette generator →

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