#381466#381466

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

Color values

HEX#381466
RGBrgb(56, 20, 102)
HSLhsl(266, 67%, 24%)
HSVhsv(266, 80%, 40%)
CMYKcmyk(45.1%, 80.4%, 0%, 60%)
CIE-LABlab(16.99, 35.67, -41.06)
CIE-LCHlch(16.99, 54.39, 310.98°)
OKLaboklab(30.05% 0.0616 -0.1175)
OKLCHoklch(30.05% 0.133 297.7)
XYZxyz(4.2787, 2.3003, 12.7864)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381466 #426614
analogous
#141966 #381466 #611466
triadic
#381466 #663814 #146638
tetradic
#381466 #661419 #426614 #146661
square
#381466 #661419 #426614 #146661
split-complementary
#381466 #666114 #196614
monochromatic
#0E051A #1C0A33 #381466 #541E99 #7028CC

Accessibility & contrast

On white

14.38
#381466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381466
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381466#FFFFFF#000000##FFFFFF
##3814661.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#2C2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381466;
/* rgb */ color: rgb(56, 20, 102);
/* oklch */ color: oklch(30.1% 0.133 297.7);
Tailwind
colors: {
  custom: {
    50: '#745692',
    500: '#381466',
    950: '#000000',
  },
}
SCSS
$custom: #381466;
$custom-light: #745692;
$custom-dark: #000000;
JSON
{
  "hex": "#381466",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 266.341,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.13268,
    "h": 297.7
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#381466
secondary
#719D39
accent
#EA3E9E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381466

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

Preview Lab → · Contrast checker → · Palette generator →

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