#381467#381467

#381467 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.134 H 297.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#381467
RGBrgb(56, 20, 103)
HSLhsl(266, 67%, 24%)
HSVhsv(266, 81%, 40%)
CMYKcmyk(45.6%, 80.6%, 0%, 59.6%)
CIE-LABlab(17.09, 35.95, -41.56)
CIE-LCHlch(17.09, 54.95, 310.86°)
OKLaboklab(30.15% 0.0613 -0.119)
OKLCHoklch(30.15% 0.134 297.3)
XYZxyz(4.3286, 2.3203, 13.0491)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381467 #436714
analogous
#141A67 #381467 #621467
triadic
#381467 #673814 #146738
tetradic
#381467 #67141A #436714 #146762
square
#381467 #67141A #436714 #146762
split-complementary
#381467 #676214 #1A6714
monochromatic
#0E051A #1C0A34 #381467 #541E9A #7028CD

Accessibility & contrast

On white

14.34
#381467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381467
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381467#FFFFFF#000000##FFFFFF
##3814671.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#2C2A3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381467;
/* rgb */ color: rgb(56, 20, 103);
/* oklch */ color: oklch(30.1% 0.134 297.3);
Tailwind
colors: {
  custom: {
    50: '#745693',
    500: '#381467',
    950: '#000000',
  },
}
SCSS
$custom: #381467;
$custom-light: #745693;
$custom-dark: #000000;
JSON
{
  "hex": "#381467",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 266.024,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.13385,
    "h": 297.3
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#381467
secondary
#729E39
accent
#EA3D9F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381467

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

Preview Lab → · Contrast checker → · Palette generator →

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