#381969#381969

#381969 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.130 H 295.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#381969
RGBrgb(56, 25, 105)
HSLhsl(263, 62%, 25%)
HSVhsv(263, 76%, 41%)
CMYKcmyk(46.7%, 76.2%, 0%, 58.8%)
CIE-LABlab(18.17, 33.97, -41.10)
CIE-LCHlch(18.17, 53.32, 309.57°)
OKLaboklab(30.97% 0.0559 -0.1177)
OKLCHoklch(30.97% 0.13 295.4)
XYZxyz(4.5276, 2.5558, 13.6166)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381969 #4A6919
analogous
#192269 #381969 #601969
triadic
#381969 #693819 #196938
tetradic
#381969 #691922 #4A6919 #196960
square
#381969 #691922 #4A6919 #196960
split-complementary
#381969 #696019 #226919
monochromatic
#0D0619 #1E0D38 #381969 #52259A #6D31CC

Accessibility & contrast

On white

13.90
#381969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#381969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381969
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381969#FFFFFF#000000##FFFFFF
##3819691.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#2A2E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381969;
/* rgb */ color: rgb(56, 25, 105);
/* oklch */ color: oklch(31.0% 0.130 295.4);
Tailwind
colors: {
  custom: {
    50: '#745995',
    500: '#381969',
    950: '#000000',
  },
}
SCSS
$custom: #381969;
$custom-light: #745995;
$custom-dark: #000000;
JSON
{
  "hex": "#381969",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 263.25,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30969,
    "c": 0.13027,
    "h": 295.4
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#381969
secondary
#7A9F3F
accent
#E543A6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381969

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

Preview Lab → · Contrast checker → · Palette generator →

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