#371E53#371E53

#371E53 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.094 H 302.9°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#371E53
RGBrgb(55, 30, 83)
HSLhsl(268, 47%, 22%)
HSVhsv(268, 64%, 33%)
CMYKcmyk(33.7%, 63.9%, 0%, 67.5%)
CIE-LABlab(17.30, 24.40, -27.89)
CIE-LCHlch(17.30, 37.06, 311.18°)
OKLaboklab(29.74% 0.051 -0.0789)
OKLCHoklch(29.74% 0.094 302.9)
XYZxyz(3.6008, 2.3653, 8.4488)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E53 #3A531E
analogous
#1E1F53 #371E53 #521E53
triadic
#371E53 #53371E #1E5337
tetradic
#371E53 #531E1F #3A531E #1E5352
square
#371E53 #531E1F #3A531E #1E5352
split-complementary
#371E53 #53521E #1F531E
monochromatic
#0F0816 #190E26 #371E53 #552E80 #733EAD

Accessibility & contrast

On white

14.26
#371E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E53
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E53#FFFFFF#000000##FFFFFF
##371E531.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A55
Deuteranopia (green-blind)
#112A52
Tritanopia (blue-blind)
#322935
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371e53;
/* rgb */ color: rgb(55, 30, 83);
/* oklch */ color: oklch(29.7% 0.094 302.9);
Tailwind
colors: {
  custom: {
    50: '#705b84',
    500: '#371e53',
    950: '#000000',
  },
}
SCSS
$custom: #371e53;
$custom-light: #705b84;
$custom-dark: #000000;
JSON
{
  "hex": "#371e53",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 268.302,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29743,
    "c": 0.09392,
    "h": 302.9
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#371E53
secondary
#688845
accent
#D75198
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371E53

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

Preview Lab → · Contrast checker → · Palette generator →

#371E53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva