#381565#381565

#381565 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.130 H 297.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#381565
RGBrgb(56, 21, 101)
HSLhsl(266, 66%, 24%)
HSVhsv(266, 79%, 40%)
CMYKcmyk(44.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.07, 34.90, -40.27)
CIE-LCHlch(17.07, 53.29, 310.91°)
OKLaboklab(30.08% 0.061 -0.1152)
OKLCHoklch(30.08% 0.13 297.9)
XYZxyz(4.2474, 2.3166, 12.5328)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381565 #426515
analogous
#151A65 #381565 #601565
triadic
#381565 #653815 #156538
tetradic
#381565 #65151A #426515 #156560
square
#381565 #65151A #426515 #156560
split-complementary
#381565 #656015 #1A6515
monochromatic
#0E0519 #1C0A32 #381565 #542098 #702ACA

Accessibility & contrast

On white

14.35
#381565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381565
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381565#FFFFFF#000000##FFFFFF
##3815651.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2D2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381565;
/* rgb */ color: rgb(56, 21, 101);
/* oklch */ color: oklch(30.1% 0.130 297.9);
Tailwind
colors: {
  custom: {
    50: '#745692',
    500: '#381565',
    950: '#000000',
  },
}
SCSS
$custom: #381565;
$custom-light: #745692;
$custom-dark: #000000;
JSON
{
  "hex": "#381565",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 266.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30077,
    "c": 0.13033,
    "h": 297.9
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#381565
secondary
#719C3A
accent
#E93F9E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381565

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

Preview Lab → · Contrast checker → · Palette generator →

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