#381863#381863

#381863 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.124 H 298.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#381863
RGBrgb(56, 24, 99)
HSLhsl(266, 61%, 24%)
HSVhsv(266, 76%, 39%)
CMYKcmyk(43.4%, 75.8%, 0%, 61.2%)
CIE-LABlab(17.44, 32.78, -38.35)
CIE-LCHlch(17.44, 50.45, 310.52°)
OKLaboklab(30.28% 0.0583 -0.1096)
OKLCHoklch(30.28% 0.124 298)
XYZxyz(4.2091, 2.3948, 12.0424)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381863 #436318
analogous
#181E63 #381863 #5E1863
triadic
#381863 #633818 #186338
tetradic
#381863 #63181E #436318 #18635E
square
#381863 #63181E #436318 #18635E
split-complementary
#381863 #635E18 #1E6318
monochromatic
#0E0619 #1C0C32 #381863 #542494 #7030C6

Accessibility & contrast

On white

14.20
#381863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#381863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381863
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381863#FFFFFF#000000##FFFFFF
##3818631.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2D2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381863;
/* rgb */ color: rgb(56, 24, 99);
/* oklch */ color: oklch(30.3% 0.124 298.0);
Tailwind
colors: {
  custom: {
    50: '#735890',
    500: '#381863',
    950: '#000000',
  },
}
SCSS
$custom: #381863;
$custom-light: #735890;
$custom-dark: #000000;
JSON
{
  "hex": "#381863",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 265.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.12413,
    "h": 298
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#381863
secondary
#72993E
accent
#E444A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381863

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

Preview Lab → · Contrast checker → · Palette generator →

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