#371153#371153

#371153 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.114 H 306.5°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#371153
RGBrgb(55, 17, 83)
HSLhsl(275, 66%, 20%)
HSVhsv(275, 80%, 33%)
CMYKcmyk(33.7%, 79.5%, 0%, 67.5%)
CIE-LABlab(14.61, 31.78, -32.23)
CIE-LCHlch(14.61, 45.26, 314.59°)
OKLaboklab(27.81% 0.0679 -0.0916)
OKLCHoklch(27.81% 0.114 306.5)
XYZxyz(3.3370, 1.8377, 8.3609)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371153 #2D5311
analogous
#161153 #371153 #53114E
triadic
#371153 #533711 #115337
tetradic
#371153 #531611 #2D5311 #114E53
square
#371153 #531611 #2D5311 #114E53
split-complementary
#371153 #4E5311 #115316
monochromatic
#110519 #150720 #371153 #591B86 #7A26B9

Accessibility & contrast

On white

15.36
#371153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371153
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371153#FFFFFF#000000##FFFFFF
##3711531.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.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: #371153;
/* rgb */ color: rgb(55, 17, 83);
/* oklch */ color: oklch(27.8% 0.114 306.5);
Tailwind
colors: {
  custom: {
    50: '#715384',
    500: '#371153',
    950: '#000000',
  },
}
SCSS
$custom: #371153;
$custom-light: #715384;
$custom-dark: #000000;
JSON
{
  "hex": "#371153",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 274.545,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27809,
    "c": 0.11399,
    "h": 306.5
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#371153
secondary
#598C34
accent
#E93F87
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371153

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

Preview Lab → · Contrast checker → · Palette generator →

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