#381967#381967

#381967 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.128 H 296.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#381967
RGBrgb(56, 25, 103)
HSLhsl(264, 61%, 25%)
HSVhsv(264, 76%, 40%)
CMYKcmyk(45.6%, 75.7%, 0%, 59.6%)
CIE-LABlab(17.99, 33.39, -40.09)
CIE-LCHlch(17.99, 52.17, 309.79°)
OKLaboklab(30.78% 0.0564 -0.1147)
OKLCHoklch(30.78% 0.128 296.2)
XYZxyz(4.4261, 2.5152, 13.0816)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381967 #486719
analogous
#192167 #381967 #5F1967
triadic
#381967 #673819 #196738
tetradic
#381967 #671921 #486719 #19675F
square
#381967 #671921 #486719 #19675F
split-complementary
#381967 #675F19 #216719
monochromatic
#0D0619 #1D0D36 #381967 #532598 #6E31C9

Accessibility & contrast

On white

13.97
#381967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381967
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381967#FFFFFF#000000##FFFFFF
##3819671.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#2B2D3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381967;
/* rgb */ color: rgb(56, 25, 103);
/* oklch */ color: oklch(30.8% 0.128 296.2);
Tailwind
colors: {
  custom: {
    50: '#745993',
    500: '#381967',
    950: '#000000',
  },
}
SCSS
$custom: #381967;
$custom-light: #745993;
$custom-dark: #000000;
JSON
{
  "hex": "#381967",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 263.846,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30784,
    "c": 0.12779,
    "h": 296.2
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#381967
secondary
#789D3F
accent
#E444A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381967

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

Preview Lab → · Contrast checker → · Palette generator →

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