#381880#381880

#381880 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.159 H 288.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#381880
RGBrgb(56, 24, 128)
HSLhsl(258, 68%, 30%)
HSVhsv(258, 81%, 50%)
CMYKcmyk(56.3%, 81.3%, 0%, 49.8%)
CIE-LABlab(20.25, 41.19, -52.49)
CIE-LCHlch(20.25, 66.72, 308.12°)
OKLaboklab(33.12% 0.0502 -0.151)
OKLCHoklch(33.12% 0.159 288.4)
XYZxyz(5.8527, 3.0522, 20.6986)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381880 #608018
analogous
#182C80 #381880 #6C1880
triadic
#381880 #803818 #188038
tetradic
#381880 #80182C #608018 #18806C
square
#381880 #80182C #608018 #18806C
split-complementary
#381880 #806C18 #2C8018
monochromatic
#0B051A #210E4C #381880 #4F22B4 #6A39DA

Accessibility & contrast

On white

13.04
#381880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#381880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381880
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381880#FFFFFF#000000##FFFFFF
##3818801.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#1A364C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #381880;
/* rgb */ color: rgb(56, 24, 128);
/* oklch */ color: oklch(33.1% 0.159 288.4);
Tailwind
colors: {
  custom: {
    50: '#785aa6',
    500: '#381880',
    950: '#000000',
  },
}
SCSS
$custom: #381880;
$custom-light: #785aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#381880",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 258.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3312,
    "c": 0.15915,
    "h": 288.4
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#381880
secondary
#90B440
accent
#EB3DB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #381880

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

Preview Lab → · Contrast checker → · Palette generator →

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