#381DA0#381DA0

#381DA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.192 H 281.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#381DA0
RGBrgb(56, 29, 160)
HSLhsl(252, 69%, 37%)
HSVhsv(252, 82%, 63%)
CMYKcmyk(65%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.50, 48.25, -65.36)
CIE-LCHlch(24.50, 81.24, 306.44°)
OKLaboklab(37.1% 0.0366 -0.1886)
OKLCHoklch(37.1% 0.192 281)
XYZxyz(8.4134, 4.2569, 33.6292)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381DA0 #85A01D
analogous
#1D44A0 #381DA0 #791DA0
triadic
#381DA0 #A0381D #1DA038
tetradic
#381DA0 #A01D44 #85A01D #1DA079
square
#381DA0 #A01D44 #85A01D #1DA079
split-complementary
#381DA0 #A0791D #44A01D
monochromatic
#140A38 #26146C #381DA0 #4A26D4 #7357E1

Accessibility & contrast

On white

11.34
#381DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#381DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381DA0
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381DA0#FFFFFF#000000##FFFFFF
##381DA01.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #381da0;
/* rgb */ color: rgb(56, 29, 160);
/* oklch */ color: oklch(37.1% 0.192 281.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ebd',
    500: '#381da0',
    950: '#000000',
  },
}
SCSS
$custom: #381da0;
$custom-light: #7e5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#381da0",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 252.366,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.19214,
    "h": 281
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#381DA0
secondary
#ADC455
accent
#EC3CC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #381DA0

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

Preview Lab → · Contrast checker → · Palette generator →

#381DA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva