#381473#381473

#381473 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.148 H 292.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#381473
RGBrgb(56, 20, 115)
HSLhsl(263, 70%, 26%)
HSVhsv(263, 83%, 45%)
CMYKcmyk(51.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(18.27, 39.31, -47.44)
CIE-LCHlch(18.27, 61.61, 309.65°)
OKLaboklab(31.34% 0.0575 -0.1362)
OKLCHoklch(31.34% 0.148 292.9)
XYZxyz(4.9747, 2.5787, 16.4520)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381473 #4F7314
analogous
#142073 #381473 #681473
triadic
#381473 #733814 #147338
tetradic
#381473 #731420 #4F7314 #147368
square
#381473 #731420 #4F7314 #147368
split-complementary
#381473 #736814 #207314
monochromatic
#0D051A #1F0B3F #381473 #511DA7 #6B28DA

Accessibility & contrast

On white

13.85
#381473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381473
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381473#FFFFFF#000000##FFFFFF
##3814731.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#252F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381473;
/* rgb */ color: rgb(56, 20, 115);
/* oklch */ color: oklch(31.3% 0.148 292.9);
Tailwind
colors: {
  custom: {
    50: '#76579c',
    500: '#381473',
    950: '#000000',
  },
}
SCSS
$custom: #381473;
$custom-light: #76579c;
$custom-dark: #000000;
JSON
{
  "hex": "#381473",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 262.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31337,
    "c": 0.14785,
    "h": 292.9
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#381473
secondary
#7FA93A
accent
#ED3BAA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381473

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

Preview Lab → · Contrast checker → · Palette generator →

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