#371855#371855

#371855 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.106 H 303.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#371855
RGBrgb(55, 24, 85)
HSLhsl(270, 56%, 21%)
HSVhsv(270, 72%, 33%)
CMYKcmyk(35.3%, 71.8%, 0%, 66.7%)
CIE-LABlab(16.11, 28.59, -31.16)
CIE-LCHlch(16.11, 42.28, 312.54°)
OKLaboklab(28.93% 0.0591 -0.0885)
OKLCHoklch(28.93% 0.106 303.7)
XYZxyz(3.5415, 2.1214, 8.8155)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371855 #365518
analogous
#191855 #371855 #551855
triadic
#371855 #553718 #185537
tetradic
#371855 #551918 #365518 #185555
square
#371855 #551918 #365518 #185555
split-complementary
#371855 #555518 #185519
monochromatic
#0F0718 #180B25 #371855 #562585 #7533B4

Accessibility & contrast

On white

14.75
#371855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371855
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371855#FFFFFF#000000##FFFFFF
##3718551.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#042854
Tritanopia (blue-blind)
#312534
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371855;
/* rgb */ color: rgb(55, 24, 85);
/* oklch */ color: oklch(28.9% 0.106 303.7);
Tailwind
colors: {
  custom: {
    50: '#715785',
    500: '#371855',
    950: '#000000',
  },
}
SCSS
$custom: #371855;
$custom-light: #715785;
$custom-dark: #000000;
JSON
{
  "hex": "#371855",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 270.492,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28932,
    "c": 0.10638,
    "h": 303.7
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#371855
secondary
#648C3D
accent
#DF4993
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371855

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

Preview Lab → · Contrast checker → · Palette generator →

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