#381480#381480

#381480 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.163 H 289.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#381480
RGBrgb(56, 20, 128)
HSLhsl(260, 73%, 29%)
HSVhsv(260, 84%, 50%)
CMYKcmyk(56.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(19.64, 42.98, -53.51)
CIE-LCHlch(19.64, 68.63, 308.77°)
OKLaboklab(32.69% 0.0529 -0.154)
OKLCHoklch(32.69% 0.163 289)
XYZxyz(5.7762, 2.8993, 20.6731)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381480 #5C8014
analogous
#142680 #381480 #6E1480
triadic
#381480 #803814 #148038
tetradic
#381480 #801426 #5C8014 #14806E
square
#381480 #801426 #5C8014 #14806E
split-complementary
#381480 #806E14 #268014
monochromatic
#0C041A #210C4B #381480 #4F1CB5 #6A30DF

Accessibility & contrast

On white

13.29
#381480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#381480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381480
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381480#FFFFFF#000000##FFFFFF
##3814801.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#1A354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #381480;
/* rgb */ color: rgb(56, 20, 128);
/* oklch */ color: oklch(32.7% 0.163 289.0);
Tailwind
colors: {
  custom: {
    50: '#7858a6',
    500: '#381480',
    950: '#000000',
  },
}
SCSS
$custom: #381480;
$custom-light: #7858a6;
$custom-dark: #000000;
JSON
{
  "hex": "#381480",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 260,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.16279,
    "h": 289
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#381480
secondary
#8CB53B
accent
#F038B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #381480

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

Preview Lab → · Contrast checker → · Palette generator →

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