#381A69#381A69

#381A69 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.129 H 295.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#381A69
RGBrgb(56, 26, 105)
HSLhsl(263, 60%, 26%)
HSVhsv(263, 75%, 41%)
CMYKcmyk(46.7%, 75.2%, 0%, 58.8%)
CIE-LABlab(18.36, 33.43, -40.79)
CIE-LCHlch(18.36, 52.74, 309.34°)
OKLaboklab(31.11% 0.0549 -0.1167)
OKLCHoklch(31.11% 0.129 295.2)
XYZxyz(4.5494, 2.5993, 13.6239)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A69 #4B691A
analogous
#1A2369 #381A69 #5F1A69
triadic
#381A69 #69381A #1A6938
tetradic
#381A69 #691A23 #4B691A #1A695F
square
#381A69 #691A23 #4B691A #1A695F
split-complementary
#381A69 #695F1A #23691A
monochromatic
#0D0619 #1E0E38 #381A69 #52269A #6C32CB

Accessibility & contrast

On white

13.82
#381A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A69
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A69#FFFFFF#000000##FFFFFF
##381A691.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381a69;
/* rgb */ color: rgb(56, 26, 105);
/* oklch */ color: oklch(31.1% 0.129 295.2);
Tailwind
colors: {
  custom: {
    50: '#745995',
    500: '#381a69',
    950: '#000000',
  },
}
SCSS
$custom: #381a69;
$custom-light: #745995;
$custom-dark: #000000;
JSON
{
  "hex": "#381a69",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 262.785,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.129,
    "h": 295.2
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#381A69
secondary
#7B9E40
accent
#E344A7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #381A69

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

Preview Lab → · Contrast checker → · Palette generator →

#381A69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva