#381690#381690

#381690 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.179 H 284.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#381690
RGBrgb(56, 22, 144)
HSLhsl(257, 73%, 33%)
HSVhsv(257, 85%, 56%)
CMYKcmyk(61.1%, 84.7%, 0%, 43.5%)
CIE-LABlab(21.68, 46.67, -60.18)
CIE-LCHlch(21.68, 76.15, 307.79°)
OKLaboklab(34.62% 0.0458 -0.1734)
OKLCHoklch(34.62% 0.179 284.8)
XYZxyz(6.9503, 3.4277, 26.6755)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381690 #6E9016
analogous
#163190 #381690 #751690
triadic
#381690 #903816 #169038
tetradic
#381690 #901631 #6E9016 #169075
square
#381690 #901631 #6E9016 #169075
split-complementary
#381690 #907516 #319016
monochromatic
#0F0626 #230E5B #381690 #4D1EC5 #6C3FE2

Accessibility & contrast

On white

12.46
#381690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#381690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381690
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381690#FFFFFF#000000##FFFFFF
##3816901.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003C55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #381690;
/* rgb */ color: rgb(56, 22, 144);
/* oklch */ color: oklch(34.6% 0.179 284.8);
Tailwind
colors: {
  custom: {
    50: '#7b5ab2',
    500: '#381690',
    950: '#000000',
  },
}
SCSS
$custom: #381690;
$custom-light: #7b5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#381690",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 256.721,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.17938,
    "h": 284.8
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#381690
secondary
#9EC240
accent
#F038BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #381690

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

Preview Lab → · Contrast checker → · Palette generator →

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