#371075#371075

#371075 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.154 H 292.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#371075
RGBrgb(55, 16, 117)
HSLhsl(263, 76%, 26%)
HSVhsv(263, 86%, 46%)
CMYKcmyk(53%, 86.3%, 0%, 54.1%)
CIE-LABlab(17.77, 41.43, -49.56)
CIE-LCHlch(17.77, 64.59, 309.89°)
OKLaboklab(31.02% 0.058 -0.1424)
OKLCHoklch(31.02% 0.154 292.2)
XYZxyz(4.9708, 2.4670, 17.0404)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371075 #4E7510
analogous
#101C75 #371075 #691075
triadic
#371075 #753710 #107537
tetradic
#371075 #75101C #4E7510 #107569
square
#371075 #75101C #4E7510 #107569
split-complementary
#371075 #756910 #1C7510
monochromatic
#0D041B #1E093F #371075 #5017AB #6A1FE0

Accessibility & contrast

On white

14.06
#371075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371075
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371075#FFFFFF#000000##FFFFFF
##3710751.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#222F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371075;
/* rgb */ color: rgb(55, 16, 117);
/* oklch */ color: oklch(31.0% 0.154 292.2);
Tailwind
colors: {
  custom: {
    50: '#76559e',
    500: '#371075',
    950: '#000000',
  },
}
SCSS
$custom: #371075;
$custom-light: #76559e;
$custom-dark: #000000;
JSON
{
  "hex": "#371075",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 263.168,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.15376,
    "h": 292.2
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#371075
secondary
#7EAC35
accent
#F335A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371075

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

Preview Lab → · Contrast checker → · Palette generator →

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