#371452#371452

#371452 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.109 H 306.4°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#371452
RGBrgb(55, 20, 82)
HSLhsl(274, 61%, 20%)
HSVhsv(274, 76%, 32%)
CMYKcmyk(32.9%, 75.6%, 0%, 67.8%)
CIE-LABlab(15.07, 29.98, -30.80)
CIE-LCHlch(15.07, 42.99, 314.22°)
OKLaboklab(28.11% 0.0646 -0.0874)
OKLCHoklch(28.11% 0.109 306.4)
XYZxyz(3.3484, 1.9218, 8.1755)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371452 #2F5214
analogous
#181452 #371452 #52144E
triadic
#371452 #523714 #145237
tetradic
#371452 #521814 #2F5214 #144E52
square
#371452 #521814 #2F5214 #144E52
split-complementary
#371452 #4E5214 #145218
monochromatic
#110619 #160821 #371452 #582083 #792CB4

Accessibility & contrast

On white

15.17
#371452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371452
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371452#FFFFFF#000000##FFFFFF
##3714521.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#032651
Tritanopia (blue-blind)
#322231
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371452;
/* rgb */ color: rgb(55, 20, 82);
/* oklch */ color: oklch(28.1% 0.109 306.4);
Tailwind
colors: {
  custom: {
    50: '#715583',
    500: '#371452',
    950: '#000000',
  },
}
SCSS
$custom: #371452;
$custom-light: #715583;
$custom-dark: #000000;
JSON
{
  "hex": "#371452",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 273.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.28109,
    "c": 0.10865,
    "h": 306.4
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#371452
secondary
#5C8A38
accent
#E4448A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371452

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

Preview Lab → · Contrast checker → · Palette generator →

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