#371850#371850

#371850 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.100 H 306.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#371850
RGBrgb(55, 24, 80)
HSLhsl(273, 54%, 20%)
HSVhsv(273, 70%, 31%)
CMYKcmyk(31.2%, 70%, 0%, 68.6%)
CIE-LABlab(15.72, 27.21, -28.39)
CIE-LCHlch(15.72, 39.33, 313.78°)
OKLaboklab(28.53% 0.0596 -0.0803)
OKLCHoklch(28.53% 0.1 306.6)
XYZxyz(3.3498, 2.0447, 7.8061)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371850 #315018
analogous
#1B1850 #371850 #50184D
triadic
#371850 #503718 #185037
tetradic
#371850 #501B18 #315018 #184D50
square
#371850 #501B18 #315018 #184D50
split-complementary
#371850 #4D5018 #18501B
monochromatic
#100718 #170A21 #371850 #57267F #7834AE

Accessibility & contrast

On white

14.90
#371850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371850
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371850#FFFFFF#000000##FFFFFF
##3718501.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#0C274F
Tritanopia (blue-blind)
#332431
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371850;
/* rgb */ color: rgb(55, 24, 80);
/* oklch */ color: oklch(28.5% 0.100 306.6);
Tailwind
colors: {
  custom: {
    50: '#705781',
    500: '#371850',
    950: '#000000',
  },
}
SCSS
$custom: #371850;
$custom-light: #705781;
$custom-dark: #000000;
JSON
{
  "hex": "#371850",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 273.214,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28525,
    "c": 0.10002,
    "h": 306.6
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#371850
secondary
#5E873D
accent
#DD4B8C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371850

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

Preview Lab → · Contrast checker → · Palette generator →

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