#381475#381475

#381475 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.150 H 292.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#381475
RGBrgb(56, 20, 117)
HSLhsl(262, 71%, 27%)
HSVhsv(262, 83%, 46%)
CMYKcmyk(52.1%, 82.9%, 0%, 54.1%)
CIE-LABlab(18.48, 39.88, -48.39)
CIE-LCHlch(18.48, 62.70, 309.49°)
OKLaboklab(31.54% 0.0569 -0.139)
OKLCHoklch(31.54% 0.15 292.2)
XYZxyz(5.0910, 2.6252, 17.0646)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381475 #517514
analogous
#142175 #381475 #691475
triadic
#381475 #753814 #147538
tetradic
#381475 #751421 #517514 #147569
square
#381475 #751421 #517514 #147569
split-complementary
#381475 #756914 #217514
monochromatic
#0D041A #1F0B41 #381475 #511DA9 #6B29DA

Accessibility & contrast

On white

13.77
#381475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#381475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381475
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381475#FFFFFF#000000##FFFFFF
##3814751.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#243045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381475;
/* rgb */ color: rgb(56, 20, 117);
/* oklch */ color: oklch(31.5% 0.150 292.2);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#381475',
    950: '#000000',
  },
}
SCSS
$custom: #381475;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#381475",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 262.268,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.15017,
    "h": 292.2
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#381475
secondary
#81AB3A
accent
#EE3AAB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381475

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

Preview Lab → · Contrast checker → · Palette generator →

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