#381663#381663

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

Color values

HEX#381663
RGBrgb(56, 22, 99)
HSLhsl(266, 64%, 24%)
HSVhsv(266, 78%, 39%)
CMYKcmyk(43.4%, 77.8%, 0%, 61.2%)
CIE-LABlab(17.06, 33.83, -38.96)
CIE-LCHlch(17.06, 51.60, 310.97°)
OKLaboklab(30.02% 0.0605 -0.1114)
OKLCHoklch(30.02% 0.127 298.5)
XYZxyz(4.1694, 2.3154, 12.0292)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381663 #416316
analogous
#161A63 #381663 #5E1663
triadic
#381663 #633816 #166338
tetradic
#381663 #63161A #416316 #16635E
square
#381663 #63161A #416316 #16635E
split-complementary
#381663 #635E16 #1A6316
monochromatic
#0E0619 #1C0B31 #381663 #542195 #712CC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##381663#FFFFFF#000000##FFFFFF
##3816631.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)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2D2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381663;
/* rgb */ color: rgb(56, 22, 99);
/* oklch */ color: oklch(30.0% 0.127 298.5);
Tailwind
colors: {
  custom: {
    50: '#735790',
    500: '#381663',
    950: '#000000',
  },
}
SCSS
$custom: #381663;
$custom-light: #735790;
$custom-dark: #000000;
JSON
{
  "hex": "#381663",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 266.494,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30016,
    "c": 0.12671,
    "h": 298.5
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#381663
secondary
#709A3B
accent
#E7419E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #381663

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

Preview Lab → · Contrast checker → · Palette generator →

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