#381490#381490

#381490 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.181 H 285.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#381490
RGBrgb(56, 20, 144)
HSLhsl(257, 76%, 32%)
HSVhsv(257, 86%, 56%)
CMYKcmyk(61.1%, 86.1%, 0%, 43.5%)
CIE-LABlab(21.41, 47.47, -60.63)
CIE-LCHlch(21.41, 77.00, 308.06°)
OKLaboklab(34.44% 0.0468 -0.1747)
OKLCHoklch(34.44% 0.181 285)
XYZxyz(6.9135, 3.3542, 26.6633)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381490 #6C9014
analogous
#142E90 #381490 #761490
triadic
#381490 #903814 #149038
tetradic
#381490 #90142E #6C9014 #149076
square
#381490 #90142E #6C9014 #149076
split-complementary
#381490 #907614 #2E9014
monochromatic
#0E0525 #230D5A #381490 #4D1BC6 #6C3BE4

Accessibility & contrast

On white

12.57
#381490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#381490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381490
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381490#FFFFFF#000000##FFFFFF
##3814901.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381490;
/* rgb */ color: rgb(56, 20, 144);
/* oklch */ color: oklch(34.4% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b59b2',
    500: '#381490',
    950: '#000000',
  },
}
SCSS
$custom: #381490;
$custom-light: #7b59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#381490",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 257.419,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34438,
    "c": 0.18087,
    "h": 285
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#381490
secondary
#9CC33D
accent
#F236BB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #381490

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

Preview Lab → · Contrast checker → · Palette generator →

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