#371450#371450

#371450 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.106 H 307.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#371450
RGBrgb(55, 20, 80)
HSLhsl(275, 60%, 20%)
HSVhsv(275, 75%, 31%)
CMYKcmyk(31.2%, 75%, 0%, 68.6%)
CIE-LABlab(14.91, 29.45, -29.70)
CIE-LCHlch(14.91, 41.83, 314.75°)
OKLaboklab(27.94% 0.0648 -0.0842)
OKLCHoklch(27.94% 0.106 307.6)
XYZxyz(3.2734, 1.8918, 7.7806)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371450 #2D5014
analogous
#191450 #371450 #50144B
triadic
#371450 #503714 #145037
tetradic
#371450 #501914 #2D5014 #144B50
square
#371450 #501914 #2D5014 #144B50
split-complementary
#371450 #4B5014 #145019
monochromatic
#110618 #15081F #371450 #592081 #7A2CB2

Accessibility & contrast

On white

15.24
#371450 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#371450 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371450
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371450#FFFFFF#000000##FFFFFF
##3714501.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#06264F
Tritanopia (blue-blind)
#332130
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371450;
/* rgb */ color: rgb(55, 20, 80);
/* oklch */ color: oklch(27.9% 0.106 307.6);
Tailwind
colors: {
  custom: {
    50: '#715581',
    500: '#371450',
    950: '#000000',
  },
}
SCSS
$custom: #371450;
$custom-light: #715581;
$custom-dark: #000000;
JSON
{
  "hex": "#371450",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 80
  },
  "hsl": {
    "h": 275,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27942,
    "c": 0.10624,
    "h": 307.6
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#371450
secondary
#598838
accent
#E34587
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371450

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

Preview Lab → · Contrast checker → · Palette generator →

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