#381567#381567

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

Color values

HEX#381567
RGBrgb(56, 21, 103)
HSLhsl(266, 66%, 24%)
HSVhsv(266, 80%, 40%)
CMYKcmyk(45.6%, 79.6%, 0%, 59.6%)
CIE-LABlab(17.26, 35.46, -41.28)
CIE-LCHlch(17.26, 54.42, 310.66°)
OKLaboklab(30.27% 0.0604 -0.1182)
OKLCHoklch(30.27% 0.133 297.1)
XYZxyz(4.3466, 2.3563, 13.0551)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381567 #446715
analogous
#151B67 #381567 #611567
triadic
#381567 #673815 #156738
tetradic
#381567 #67151B #446715 #156761
square
#381567 #67151B #446715 #156761
split-complementary
#381567 #676115 #1B6715
monochromatic
#0E0519 #1C0B34 #381567 #541F9A #6F2ACD

Accessibility & contrast

On white

14.27
#381567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381567
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381567#FFFFFF#000000##FFFFFF
##3815671.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#2C2B3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381567;
/* rgb */ color: rgb(56, 21, 103);
/* oklch */ color: oklch(30.3% 0.133 297.1);
Tailwind
colors: {
  custom: {
    50: '#745693',
    500: '#381567',
    950: '#000000',
  },
}
SCSS
$custom: #381567;
$custom-light: #745693;
$custom-dark: #000000;
JSON
{
  "hex": "#381567",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 265.61,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.1327,
    "h": 297.1
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#381567
secondary
#739E3A
accent
#E93FA0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381567

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

Preview Lab → · Contrast checker → · Palette generator →

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