#371352#371352

#371352 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.110 H 306.7°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#371352
RGBrgb(55, 19, 82)
HSLhsl(274, 62%, 20%)
HSVhsv(274, 77%, 32%)
CMYKcmyk(32.9%, 76.8%, 0%, 67.8%)
CIE-LABlab(14.88, 30.51, -31.11)
CIE-LCHlch(14.88, 43.57, 314.44°)
OKLaboklab(27.98% 0.0658 -0.0883)
OKLCHoklch(27.98% 0.11 306.7)
XYZxyz(3.3311, 1.8872, 8.1698)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371352 #2E5213
analogous
#181352 #371352 #52134D
triadic
#371352 #523713 #135237
tetradic
#371352 #521813 #2E5213 #134D52
square
#371352 #521813 #2E5213 #134D52
split-complementary
#371352 #4D5213 #135218
monochromatic
#110619 #160720 #371352 #581F84 #7A2AB5

Accessibility & contrast

On white

15.25
#371352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371352
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371352#FFFFFF#000000##FFFFFF
##3713521.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#322131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371352;
/* rgb */ color: rgb(55, 19, 82);
/* oklch */ color: oklch(28.0% 0.110 306.7);
Tailwind
colors: {
  custom: {
    50: '#715483',
    500: '#371352',
    950: '#000000',
  },
}
SCSS
$custom: #371352;
$custom-light: #715483;
$custom-dark: #000000;
JSON
{
  "hex": "#371352",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 274.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27976,
    "c": 0.11009,
    "h": 306.7
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#371352
secondary
#5A8A36
accent
#E54288
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371352

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

Preview Lab → · Contrast checker → · Palette generator →

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