#371353#371353

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

Color values

HEX#371353
RGBrgb(55, 19, 83)
HSLhsl(274, 63%, 20%)
HSVhsv(274, 77%, 33%)
CMYKcmyk(33.7%, 77.1%, 0%, 67.5%)
CIE-LABlab(14.97, 30.77, -31.65)
CIE-LCHlch(14.97, 44.15, 314.19°)
OKLaboklab(28.06% 0.0656 -0.0899)
OKLCHoklch(28.06% 0.111 306.1)
XYZxyz(3.3694, 1.9025, 8.3717)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371353 #2F5313
analogous
#171353 #371353 #53134F
triadic
#371353 #533713 #135337
tetradic
#371353 #531713 #2F5313 #134F53
square
#371353 #531713 #2F5313 #134F53
split-complementary
#371353 #4F5313 #135317
monochromatic
#100619 #160821 #371353 #581E85 #792AB7

Accessibility & contrast

On white

15.21
#371353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371353
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371353#FFFFFF#000000##FFFFFF
##3713531.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371353;
/* rgb */ color: rgb(55, 19, 83);
/* oklch */ color: oklch(28.1% 0.111 306.1);
Tailwind
colors: {
  custom: {
    50: '#715484',
    500: '#371353',
    950: '#000000',
  },
}
SCSS
$custom: #371353;
$custom-light: #715484;
$custom-dark: #000000;
JSON
{
  "hex": "#371353",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 273.75,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.28061,
    "c": 0.11127,
    "h": 306.1
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#371353
secondary
#5C8B36
accent
#E6428A
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371353

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

Preview Lab → · Contrast checker → · Palette generator →

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