#371853#371853

#371853 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.104 H 304.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#371853
RGBrgb(55, 24, 83)
HSLhsl(272, 55%, 21%)
HSVhsv(272, 71%, 33%)
CMYKcmyk(33.7%, 71.1%, 0%, 67.5%)
CIE-LABlab(15.95, 28.03, -30.06)
CIE-LCHlch(15.95, 41.10, 313.00°)
OKLaboklab(28.77% 0.0593 -0.0852)
OKLCHoklch(28.77% 0.104 304.8)
XYZxyz(3.4632, 2.0900, 8.4029)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371853 #345318
analogous
#191853 #371853 #531851
triadic
#371853 #533718 #185337
tetradic
#371853 #531918 #345318 #185153
square
#371853 #531918 #345318 #185153
split-complementary
#371853 #515318 #185319
monochromatic
#100718 #180A24 #371853 #562682 #7633B2

Accessibility & contrast

On white

14.81
#371853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371853
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371853#FFFFFF#000000##FFFFFF
##3718531.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#072852
Tritanopia (blue-blind)
#322533
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371853;
/* rgb */ color: rgb(55, 24, 83);
/* oklch */ color: oklch(28.8% 0.104 304.8);
Tailwind
colors: {
  custom: {
    50: '#715784',
    500: '#371853',
    950: '#000000',
  },
}
SCSS
$custom: #371853;
$custom-light: #715784;
$custom-dark: #000000;
JSON
{
  "hex": "#371853",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 271.525,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.10384,
    "h": 304.8
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#371853
secondary
#618A3D
accent
#DE4990
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371853

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

Preview Lab → · Contrast checker → · Palette generator →

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