#371455#371455

#371455 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.112 H 304.8°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#371455
RGBrgb(55, 20, 85)
HSLhsl(272, 62%, 21%)
HSVhsv(272, 76%, 33%)
CMYKcmyk(35.3%, 76.5%, 0%, 66.7%)
CIE-LABlab(15.32, 30.79, -32.44)
CIE-LCHlch(15.32, 44.72, 313.51°)
OKLaboklab(28.37% 0.0641 -0.0922)
OKLCHoklch(28.37% 0.112 304.8)
XYZxyz(3.4650, 1.9684, 8.7900)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371455 #325514
analogous
#161455 #371455 #551452
triadic
#371455 #553714 #145537
tetradic
#371455 #551614 #325514 #145255
square
#371455 #551614 #325514 #145255
split-complementary
#371455 #525514 #145516
monochromatic
#100619 #170823 #371455 #572087 #772BB8

Accessibility & contrast

On white

15.07
#371455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371455
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371455#FFFFFF#000000##FFFFFF
##3714551.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#312333
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371455;
/* rgb */ color: rgb(55, 20, 85);
/* oklch */ color: oklch(28.4% 0.112 304.8);
Tailwind
colors: {
  custom: {
    50: '#715585',
    500: '#371455',
    950: '#000000',
  },
}
SCSS
$custom: #371455;
$custom-light: #715585;
$custom-dark: #000000;
JSON
{
  "hex": "#371455",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 272.308,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.11226,
    "h": 304.8
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#371455
secondary
#5F8D38
accent
#E5438E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371455

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

Preview Lab → · Contrast checker → · Palette generator →

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