#381470#381470

#381470 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.144 H 293.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#381470
RGBrgb(56, 20, 112)
HSLhsl(263, 70%, 26%)
HSVhsv(263, 82%, 44%)
CMYKcmyk(50%, 82.1%, 0%, 56.1%)
CIE-LABlab(17.97, 38.47, -45.99)
CIE-LCHlch(17.97, 59.96, 309.91°)
OKLaboklab(31.03% 0.0585 -0.132)
OKLCHoklch(31.03% 0.144 293.9)
XYZxyz(4.8049, 2.5108, 15.5576)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381470 #4C7014
analogous
#141E70 #381470 #661470
triadic
#381470 #703814 #147038
tetradic
#381470 #70141E #4C7014 #147066
square
#381470 #70141E #4C7014 #147066
split-complementary
#381470 #706614 #1E7014
monochromatic
#0D051A #1E0B3C #381470 #521DA4 #6C27D8

Accessibility & contrast

On white

13.98
#381470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381470
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381470#FFFFFF#000000##FFFFFF
##3814701.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#272E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381470;
/* rgb */ color: rgb(56, 20, 112);
/* oklch */ color: oklch(31.0% 0.144 293.9);
Tailwind
colors: {
  custom: {
    50: '#75569a',
    500: '#381470',
    950: '#000000',
  },
}
SCSS
$custom: #381470;
$custom-light: #75569a;
$custom-dark: #000000;
JSON
{
  "hex": "#381470",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 263.478,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31034,
    "c": 0.14437,
    "h": 293.9
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#381470
secondary
#7CA639
accent
#ED3BA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381470

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

Preview Lab → · Contrast checker → · Palette generator →

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