#371253#371253

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

Color values

HEX#371253
RGBrgb(55, 18, 83)
HSLhsl(274, 64%, 20%)
HSVhsv(274, 78%, 33%)
CMYKcmyk(33.7%, 78.3%, 0%, 67.5%)
CIE-LABlab(14.79, 31.28, -31.95)
CIE-LCHlch(14.79, 44.71, 314.40°)
OKLaboklab(27.93% 0.0668 -0.0907)
OKLCHoklch(27.93% 0.113 306.3)
XYZxyz(3.3528, 1.8694, 8.3661)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371253 #2E5312
analogous
#171253 #371253 #53124E
triadic
#371253 #533712 #125337
tetradic
#371253 #531712 #2E5312 #124E53
square
#371253 #531712 #2E5312 #124E53
split-complementary
#371253 #4E5312 #125317
monochromatic
#110519 #160721 #371253 #581D85 #7A28B8

Accessibility & contrast

On white

15.29
#371253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#371253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371253
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371253#FFFFFF#000000##FFFFFF
##3712531.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371253;
/* rgb */ color: rgb(55, 18, 83);
/* oklch */ color: oklch(27.9% 0.113 306.3);
Tailwind
colors: {
  custom: {
    50: '#715484',
    500: '#371253',
    950: '#000000',
  },
}
SCSS
$custom: #371253;
$custom-light: #715484;
$custom-dark: #000000;
JSON
{
  "hex": "#371253",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 274.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27933,
    "c": 0.11265,
    "h": 306.3
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#371253
secondary
#5A8C35
accent
#E74088
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371253

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

Preview Lab → · Contrast checker → · Palette generator →

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