#381E6D#381E6D

#381E6D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.0% C 0.129 H 292.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#381E6D
RGBrgb(56, 30, 109)
HSLhsl(260, 57%, 27%)
HSVhsv(260, 72%, 43%)
CMYKcmyk(48.6%, 72.5%, 0%, 57.3%)
CIE-LABlab(19.53, 32.37, -41.49)
CIE-LCHlch(19.53, 52.63, 307.96°)
OKLaboklab(32.05% 0.0498 -0.1188)
OKLCHoklch(32.05% 0.129 292.7)
XYZxyz(4.8547, 2.8733, 14.7638)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E6D #536D1E
analogous
#1E2B6D #381E6D #601E6D
triadic
#381E6D #6D381E #1E6D38
tetradic
#381E6D #6D1E2B #536D1E #1E6D60
square
#381E6D #6D1E2B #536D1E #1E6D60
split-complementary
#381E6D #6D601E #2B6D1E
monochromatic
#0C0718 #1F113D #381E6D #512B9D #6B3CC9

Accessibility & contrast

On white

13.34
#381E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#381E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E6D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E6D#FFFFFF#000000##FFFFFF
##381E6D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#283243
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381e6d;
/* rgb */ color: rgb(56, 30, 109);
/* oklch */ color: oklch(32.0% 0.129 292.7);
Tailwind
colors: {
  custom: {
    50: '#745c98',
    500: '#381e6d',
    950: '#000000',
  },
}
SCSS
$custom: #381e6d;
$custom-light: #745c98;
$custom-dark: #000000;
JSON
{
  "hex": "#381e6d",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 259.747,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32049,
    "c": 0.12885,
    "h": 292.7
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#381E6D
secondary
#83A145
accent
#E048AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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