#381E60#381E60

#381E60 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.9% C 0.112 H 297.6°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#381E60
RGBrgb(56, 30, 96)
HSLhsl(264, 52%, 25%)
HSVhsv(264, 69%, 38%)
CMYKcmyk(41.7%, 68.7%, 0%, 62.4%)
CIE-LABlab(18.43, 28.47, -34.76)
CIE-LCHlch(18.43, 44.93, 309.31°)
OKLaboklab(30.91% 0.0517 -0.099)
OKLCHoklch(30.91% 0.112 297.6)
XYZxyz(4.2059, 2.6138, 11.3470)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E60 #46601E
analogous
#1E2560 #381E60 #591E60
triadic
#381E60 #60381E #1E6038
tetradic
#381E60 #601E25 #46601E #1E6059
square
#381E60 #601E25 #46601E #1E6059
split-complementary
#381E60 #60591E #25601E
monochromatic
#0E0717 #1D0F31 #381E60 #532D8F #6E3BBD

Accessibility & contrast

On white

13.79
#381E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E60
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E60#FFFFFF#000000##FFFFFF
##381E601.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#2E2D3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381e60;
/* rgb */ color: rgb(56, 30, 96);
/* oklch */ color: oklch(30.9% 0.112 297.6);
Tailwind
colors: {
  custom: {
    50: '#725b8e',
    500: '#381e60',
    950: '#000000',
  },
}
SCSS
$custom: #381e60;
$custom-light: #725b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#381e60",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 263.636,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3091,
    "c": 0.11174,
    "h": 297.6
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#381E60
secondary
#759545
accent
#DC4CA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #381E60

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

Preview Lab → · Contrast checker → · Palette generator →

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