#381E59#381E59

#381E59 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.102 H 300.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#381E59
RGBrgb(56, 30, 89)
HSLhsl(266, 50%, 23%)
HSVhsv(266, 66%, 35%)
CMYKcmyk(37.1%, 66.3%, 0%, 65.1%)
CIE-LABlab(17.88, 26.41, -30.99)
CIE-LCHlch(17.88, 40.72, 310.43°)
OKLaboklab(30.34% 0.0523 -0.088)
OKLCHoklch(30.34% 0.102 300.7)
XYZxyz(3.8979, 2.4905, 9.7246)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E59 #3F591E
analogous
#1E2159 #381E59 #551E59
triadic
#381E59 #59381E #1E5938
tetradic
#381E59 #591E21 #3F591E #1E5955
square
#381E59 #591E21 #3F591E #1E5955
split-complementary
#381E59 #59551E #21591E
monochromatic
#0E0817 #1B0F2B #381E59 #552D87 #723DB5

Accessibility & contrast

On white

14.02
#381E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E59
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E59#FFFFFF#000000##FFFFFF
##381E591.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#0A2B58
Tritanopia (blue-blind)
#312B38
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381e59;
/* rgb */ color: rgb(56, 30, 89);
/* oklch */ color: oklch(30.3% 0.102 300.7);
Tailwind
colors: {
  custom: {
    50: '#715b88',
    500: '#381e59',
    950: '#000000',
  },
}
SCSS
$custom: #381e59;
$custom-light: #715b88;
$custom-dark: #000000;
JSON
{
  "hex": "#381e59",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 266.441,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30337,
    "c": 0.10233,
    "h": 300.7
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#381E59
secondary
#6E8E45
accent
#D94F9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381E59

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

Preview Lab → · Contrast checker → · Palette generator →

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