#381E69#381E69

#381E69 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.124 H 294.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#381E69
RGBrgb(56, 30, 105)
HSLhsl(261, 56%, 26%)
HSVhsv(261, 71%, 41%)
CMYKcmyk(46.7%, 71.4%, 0%, 58.8%)
CIE-LABlab(19.18, 31.16, -39.46)
CIE-LCHlch(19.18, 50.28, 308.30°)
OKLaboklab(31.69% 0.0505 -0.1128)
OKLCHoklch(31.69% 0.124 294.1)
XYZxyz(4.6443, 2.7891, 13.6555)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E69 #4F691E
analogous
#1E2A69 #381E69 #5E1E69
triadic
#381E69 #69381E #1E6938
tetradic
#381E69 #691E2A #4F691E #1E695E
square
#381E69 #691E2A #4F691E #1E695E
split-complementary
#381E69 #695E1E #2A691E
monochromatic
#0D0718 #1F1039 #381E69 #512C99 #6B3BC7

Accessibility & contrast

On white

13.48
#381E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#381E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E69
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E69#FFFFFF#000000##FFFFFF
##381E691.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#2A3041
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381e69;
/* rgb */ color: rgb(56, 30, 105);
/* oklch */ color: oklch(31.7% 0.124 294.1);
Tailwind
colors: {
  custom: {
    50: '#745c95',
    500: '#381e69',
    950: '#000000',
  },
}
SCSS
$custom: #381e69;
$custom-light: #745c95;
$custom-dark: #000000;
JSON
{
  "hex": "#381e69",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 260.8,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31689,
    "c": 0.12364,
    "h": 294.1
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#381E69
secondary
#7F9E45
accent
#DF49AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381E69

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

Preview Lab → · Contrast checker → · Palette generator →

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