#381693#381693

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

Color values

HEX#381693
RGBrgb(56, 22, 147)
HSLhsl(256, 74%, 33%)
HSVhsv(256, 85%, 58%)
CMYKcmyk(61.9%, 85%, 0%, 42.4%)
CIE-LABlab(22.02, 47.51, -61.48)
CIE-LCHlch(22.02, 77.70, 307.70°)
OKLaboklab(34.96% 0.0447 -0.1772)
OKLCHoklch(34.96% 0.183 284.1)
XYZxyz(7.1826, 3.5207, 27.8992)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381693 #719316
analogous
#163293 #381693 #761693
triadic
#381693 #933816 #169338
tetradic
#381693 #931632 #719316 #169376
square
#381693 #931632 #719316 #169376
split-complementary
#381693 #937616 #329316
monochromatic
#0F0629 #240E5E #381693 #4C1EC8 #6D41E3

Accessibility & contrast

On white

12.32
#381693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381693
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381693#FFFFFF#000000##FFFFFF
##3816931.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381693;
/* rgb */ color: rgb(56, 22, 147);
/* oklch */ color: oklch(35.0% 0.183 284.1);
Tailwind
colors: {
  custom: {
    50: '#7b5ab4',
    500: '#381693',
    950: '#000000',
  },
}
SCSS
$custom: #381693;
$custom-light: #7b5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#381693",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 256.32,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.18278,
    "h": 284.1
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#381693
secondary
#A0C342
accent
#F137BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #381693

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

Preview Lab → · Contrast checker → · Palette generator →

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