#371693#371693

#371693 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.183 H 283.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#371693
RGBrgb(55, 22, 147)
HSLhsl(256, 74%, 33%)
HSVhsv(256, 85%, 58%)
CMYKcmyk(62.6%, 85%, 0%, 42.4%)
CIE-LABlab(21.92, 47.42, -61.65)
CIE-LCHlch(21.92, 77.78, 307.56°)
OKLaboklab(34.86% 0.0431 -0.1778)
OKLCHoklch(34.86% 0.183 283.6)
XYZxyz(7.1273, 3.4921, 27.8966)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371693 #729316
analogous
#163393 #371693 #751693
triadic
#371693 #933716 #169337
tetradic
#371693 #931633 #729316 #169375
square
#371693 #931633 #729316 #169375
split-complementary
#371693 #937516 #339316
monochromatic
#0F0629 #230E5E #371693 #4B1EC8 #6C41E3

Accessibility & contrast

On white

12.36
#371693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#371693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371693
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371693#FFFFFF#000000##FFFFFF
##3716931.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #371693;
/* rgb */ color: rgb(55, 22, 147);
/* oklch */ color: oklch(34.9% 0.183 283.6);
Tailwind
colors: {
  custom: {
    50: '#7b5ab4',
    500: '#371693',
    950: '#000000',
  },
}
SCSS
$custom: #371693;
$custom-light: #7b5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#371693",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 255.84,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3486,
    "c": 0.18291,
    "h": 283.6
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#371693
secondary
#A1C342
accent
#F137C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #371693

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

Preview Lab → · Contrast checker → · Palette generator →

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