#381590#381590

#381590 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.180 H 284.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#381590
RGBrgb(56, 21, 144)
HSLhsl(257, 75%, 32%)
HSVhsv(257, 85%, 56%)
CMYKcmyk(61.1%, 85.4%, 0%, 43.5%)
CIE-LABlab(21.54, 47.07, -60.40)
CIE-LCHlch(21.54, 76.58, 307.93°)
OKLaboklab(34.53% 0.0463 -0.1741)
OKLCHoklch(34.53% 0.18 284.9)
XYZxyz(6.9316, 3.3903, 26.6693)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381590 #6D9015
analogous
#153090 #381590 #751590
triadic
#381590 #903815 #159038
tetradic
#381590 #901530 #6D9015 #159075
square
#381590 #901530 #6D9015 #159075
split-complementary
#381590 #907515 #309015
monochromatic
#0E0525 #230D5B #381590 #4D1DC5 #6C3DE3

Accessibility & contrast

On white

12.51
#381590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#381590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381590
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381590#FFFFFF#000000##FFFFFF
##3815901.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.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: #381590;
/* rgb */ color: rgb(56, 21, 144);
/* oklch */ color: oklch(34.5% 0.180 284.9);
Tailwind
colors: {
  custom: {
    50: '#7b59b2',
    500: '#381590',
    950: '#000000',
  },
}
SCSS
$custom: #381590;
$custom-light: #7b59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#381590",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 257.073,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.18014,
    "h": 284.9
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#381590
secondary
#9DC23E
accent
#F137BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #381590

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

Preview Lab → · Contrast checker → · Palette generator →

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