#381563#381563

#381563 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.128 H 298.7°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#381563
RGBrgb(56, 21, 99)
HSLhsl(267, 65%, 24%)
HSVhsv(267, 79%, 39%)
CMYKcmyk(43.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(16.88, 34.34, -39.26)
CIE-LCHlch(16.88, 52.15, 311.18°)
OKLaboklab(29.89% 0.0615 -0.1122)
OKLCHoklch(29.89% 0.128 298.7)
XYZxyz(4.1506, 2.2779, 12.0230)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381563 #406315
analogous
#151963 #381563 #5F1563
triadic
#381563 #633815 #156338
tetradic
#381563 #631519 #406315 #15635F
square
#381563 #631519 #406315 #15635F
split-complementary
#381563 #635F15 #196315
monochromatic
#0E0519 #1B0A31 #381563 #552095 #712AC8

Accessibility & contrast

On white

14.43
#381563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381563
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381563#FFFFFF#000000##FFFFFF
##3815631.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2D293B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381563;
/* rgb */ color: rgb(56, 21, 99);
/* oklch */ color: oklch(29.9% 0.128 298.7);
Tailwind
colors: {
  custom: {
    50: '#735690',
    500: '#381563',
    950: '#000000',
  },
}
SCSS
$custom: #381563;
$custom-light: #735690;
$custom-dark: #000000;
JSON
{
  "hex": "#381563",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 266.923,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2989,
    "c": 0.12794,
    "h": 298.7
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#381563
secondary
#6F9A3A
accent
#E8409D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #381563

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

Preview Lab → · Contrast checker → · Palette generator →

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