#381380#381380

#381380 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.164 H 289.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#381380
RGBrgb(56, 19, 128)
HSLhsl(260, 74%, 29%)
HSVhsv(260, 85%, 50%)
CMYKcmyk(56.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(19.49, 43.39, -53.74)
CIE-LCHlch(19.49, 69.08, 308.92°)
OKLaboklab(32.6% 0.0535 -0.1546)
OKLCHoklch(32.6% 0.164 289.1)
XYZxyz(5.7589, 2.8647, 20.6674)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381380 #5B8013
analogous
#132580 #381380 #6F1380
triadic
#381380 #803813 #138038
tetradic
#381380 #801325 #5B8013 #13806F
square
#381380 #801325 #5B8013 #13806F
split-complementary
#381380 #806F13 #258013
monochromatic
#0C041B #210B4B #381380 #4F1BB5 #6A2DE0

Accessibility & contrast

On white

13.35
#381380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#381380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381380
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381380#FFFFFF#000000##FFFFFF
##3813801.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#1A344B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381380;
/* rgb */ color: rgb(56, 19, 128);
/* oklch */ color: oklch(32.6% 0.164 289.1);
Tailwind
colors: {
  custom: {
    50: '#7857a6',
    500: '#381380',
    950: '#000000',
  },
}
SCSS
$custom: #381380;
$custom-light: #7857a6;
$custom-dark: #000000;
JSON
{
  "hex": "#381380",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 260.367,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32596,
    "c": 0.16363,
    "h": 289.1
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#381380
secondary
#8BB539
accent
#F137B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #381380

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

Preview Lab → · Contrast checker → · Palette generator →

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