#381669#381669

#381669 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.134 H 296.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#381669
RGBrgb(56, 22, 105)
HSLhsl(265, 65%, 25%)
HSVhsv(265, 79%, 41%)
CMYKcmyk(46.7%, 79%, 0%, 58.8%)
CIE-LABlab(17.62, 35.53, -42.00)
CIE-LCHlch(17.62, 55.01, 310.23°)
OKLaboklab(30.58% 0.0589 -0.1203)
OKLCHoklch(30.58% 0.134 296.1)
XYZxyz(4.4669, 2.4344, 13.5964)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381669 #476916
analogous
#161E69 #381669 #611669
triadic
#381669 #693816 #166938
tetradic
#381669 #69161E #476916 #166961
square
#381669 #69161E #476916 #166961
split-complementary
#381669 #696116 #1E6916
monochromatic
#0D0519 #1D0B36 #381669 #53219C #6E2BCE

Accessibility & contrast

On white

14.12
#381669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#381669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381669
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381669#FFFFFF#000000##FFFFFF
##3816691.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002A67
Tritanopia (blue-blind)
#2B2C3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381669;
/* rgb */ color: rgb(56, 22, 105);
/* oklch */ color: oklch(30.6% 0.134 296.1);
Tailwind
colors: {
  custom: {
    50: '#745795',
    500: '#381669',
    950: '#000000',
  },
}
SCSS
$custom: #381669;
$custom-light: #745795;
$custom-dark: #000000;
JSON
{
  "hex": "#381669",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 264.578,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30581,
    "c": 0.13392,
    "h": 296.1
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#381669
secondary
#769F3B
accent
#E83FA3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381669

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

Preview Lab → · Contrast checker → · Palette generator →

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