#381471#381471

#381471 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.146 H 293.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#381471
RGBrgb(56, 20, 113)
HSLhsl(263, 70%, 26%)
HSVhsv(263, 82%, 44%)
CMYKcmyk(50.4%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.07, 38.75, -46.48)
CIE-LCHlch(18.07, 60.51, 309.82°)
OKLaboklab(31.14% 0.0582 -0.1334)
OKLCHoklch(31.14% 0.146 293.6)
XYZxyz(4.8609, 2.5332, 15.8524)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381471 #4D7114
analogous
#141E71 #381471 #661471
triadic
#381471 #713814 #147138
tetradic
#381471 #71141E #4D7114 #147166
square
#381471 #71141E #4D7114 #147166
split-complementary
#381471 #716614 #1E7114
monochromatic
#0D051A #1E0B3D #381471 #521DA5 #6C27D9

Accessibility & contrast

On white

13.94
#381471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#381471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381471
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381471#FFFFFF#000000##FFFFFF
##3814711.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#262E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381471;
/* rgb */ color: rgb(56, 20, 113);
/* oklch */ color: oklch(31.1% 0.146 293.6);
Tailwind
colors: {
  custom: {
    50: '#76579b',
    500: '#381471',
    950: '#000000',
  },
}
SCSS
$custom: #381471;
$custom-light: #76579b;
$custom-dark: #000000;
JSON
{
  "hex": "#381471",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 263.226,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.14553,
    "h": 293.6
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#381471
secondary
#7DA739
accent
#ED3BA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381471

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

Preview Lab → · Contrast checker → · Palette generator →

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