#371475#371475

#371475 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.150 H 291.6°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#371475
RGBrgb(55, 20, 117)
HSLhsl(262, 71%, 27%)
HSVhsv(262, 83%, 46%)
CMYKcmyk(53%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.35, 39.73, -48.60)
CIE-LCHlch(18.35, 62.77, 309.27°)
OKLaboklab(31.43% 0.0552 -0.1396)
OKLCHoklch(31.43% 0.15 291.6)
XYZxyz(5.0357, 2.5967, 17.0621)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371475 #527514
analogous
#142275 #371475 #681475
triadic
#371475 #753714 #147537
tetradic
#371475 #751422 #527514 #147568
square
#371475 #751422 #527514 #147568
split-complementary
#371475 #756814 #227514
monochromatic
#0C041A #1E0B41 #371475 #501DA9 #6929DA

Accessibility & contrast

On white

13.82
#371475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371475
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371475#FFFFFF#000000##FFFFFF
##3714751.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#223045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371475;
/* rgb */ color: rgb(55, 20, 117);
/* oklch */ color: oklch(31.4% 0.150 291.6);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#371475',
    950: '#000000',
  },
}
SCSS
$custom: #371475;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#371475",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 261.649,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31426,
    "c": 0.15015,
    "h": 291.6
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#371475
secondary
#82AB3A
accent
#EE3AAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371475

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

Preview Lab → · Contrast checker → · Palette generator →

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