#381463#381463

#381463 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.129 H 298.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#381463
RGBrgb(56, 20, 99)
HSLhsl(267, 66%, 23%)
HSVhsv(267, 80%, 39%)
CMYKcmyk(43.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(16.71, 34.83, -39.54)
CIE-LCHlch(16.71, 52.70, 311.38°)
OKLaboklab(29.77% 0.0625 -0.113)
OKLCHoklch(29.77% 0.129 298.9)
XYZxyz(4.1326, 2.2419, 12.0170)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381463 #3F6314
analogous
#141763 #381463 #5F1463
triadic
#381463 #633814 #146338
tetradic
#381463 #631417 #3F6314 #14635F
square
#381463 #631417 #3F6314 #14635F
split-complementary
#381463 #635F14 #176314
monochromatic
#0E0519 #1B0A30 #381463 #551E96 #7229C9

Accessibility & contrast

On white

14.50
#381463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#381463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381463
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381463#FFFFFF#000000##FFFFFF
##3814631.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2E293A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381463;
/* rgb */ color: rgb(56, 20, 99);
/* oklch */ color: oklch(29.8% 0.129 298.9);
Tailwind
colors: {
  custom: {
    50: '#745690',
    500: '#381463',
    950: '#000000',
  },
}
SCSS
$custom: #381463;
$custom-light: #745690;
$custom-dark: #000000;
JSON
{
  "hex": "#381463",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 267.342,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29767,
    "c": 0.12915,
    "h": 298.9
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#381463
secondary
#6E9A38
accent
#E93E9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #381463

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

Preview Lab → · Contrast checker → · Palette generator →

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