#381667#381667

#381667 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.132 H 296.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#381667
RGBrgb(56, 22, 103)
HSLhsl(265, 65%, 25%)
HSVhsv(265, 79%, 40%)
CMYKcmyk(45.6%, 78.6%, 0%, 59.6%)
CIE-LABlab(17.43, 34.96, -41.00)
CIE-LCHlch(17.43, 53.88, 310.45°)
OKLaboklab(30.39% 0.0594 -0.1173)
OKLCHoklch(30.39% 0.132 296.9)
XYZxyz(4.3653, 2.3938, 13.0614)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381667 #456716
analogous
#161D67 #381667 #611667
triadic
#381667 #673816 #166738
tetradic
#381667 #67161D #456716 #166761
square
#381667 #67161D #456716 #166761
split-complementary
#381667 #676116 #1D6716
monochromatic
#0E0519 #1D0B35 #381667 #532199 #6F2CCC

Accessibility & contrast

On white

14.20
#381667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#381667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381667
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381667#FFFFFF#000000##FFFFFF
##3816671.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2C2B3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381667;
/* rgb */ color: rgb(56, 22, 103);
/* oklch */ color: oklch(30.4% 0.132 296.9);
Tailwind
colors: {
  custom: {
    50: '#745793',
    500: '#381667',
    950: '#000000',
  },
}
SCSS
$custom: #381667;
$custom-light: #745793;
$custom-dark: #000000;
JSON
{
  "hex": "#381667",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 265.185,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30391,
    "c": 0.13152,
    "h": 296.9
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#381667
secondary
#749E3B
accent
#E840A1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381667

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

Preview Lab → · Contrast checker → · Palette generator →

#381667 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva