#381860#381860

#381860 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.120 H 299.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#381860
RGBrgb(56, 24, 96)
HSLhsl(267, 60%, 24%)
HSVhsv(267, 75%, 38%)
CMYKcmyk(41.7%, 75%, 0%, 62.4%)
CIE-LABlab(17.17, 31.92, -36.80)
CIE-LCHlch(17.17, 48.71, 310.94°)
OKLaboklab(30.01% 0.0589 -0.105)
OKLCHoklch(30.01% 0.12 299.3)
XYZxyz(4.0683, 2.3385, 11.3011)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381860 #406018
analogous
#181C60 #381860 #5C1860
triadic
#381860 #603818 #186038
tetradic
#381860 #60181C #406018 #18605C
square
#381860 #60181C #406018 #18605C
split-complementary
#381860 #605C18 #1C6018
monochromatic
#0E0618 #1B0C2F #381860 #552491 #7130C2

Accessibility & contrast

On white

14.31
#381860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#381860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381860
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381860#FFFFFF#000000##FFFFFF
##3818601.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#2F2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381860;
/* rgb */ color: rgb(56, 24, 96);
/* oklch */ color: oklch(30.0% 0.120 299.3);
Tailwind
colors: {
  custom: {
    50: '#73588e',
    500: '#381860',
    950: '#000000',
  },
}
SCSS
$custom: #381860;
$custom-light: #73588e;
$custom-dark: #000000;
JSON
{
  "hex": "#381860",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 266.667,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30011,
    "c": 0.12041,
    "h": 299.3
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#381860
secondary
#6F963D
accent
#E3459D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381860

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

Preview Lab → · Contrast checker → · Palette generator →

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