#381C69#381C69

#381C69 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.126 H 294.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#381C69
RGBrgb(56, 28, 105)
HSLhsl(262, 58%, 26%)
HSVhsv(262, 73%, 41%)
CMYKcmyk(46.7%, 73.3%, 0%, 58.8%)
CIE-LABlab(18.76, 32.31, -40.14)
CIE-LCHlch(18.76, 51.53, 308.84°)
OKLaboklab(31.39% 0.0527 -0.1148)
OKLCHoklch(31.39% 0.126 294.7)
XYZxyz(4.5953, 2.6911, 13.6392)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C69 #4D691C
analogous
#1C2669 #381C69 #5E1C69
triadic
#381C69 #69381C #1C6938
tetradic
#381C69 #691C26 #4D691C #1C695E
square
#381C69 #691C26 #4D691C #1C695E
split-complementary
#381C69 #695E1C #26691C
monochromatic
#0D0618 #1E0F39 #381C69 #522999 #6C36C9

Accessibility & contrast

On white

13.65
#381C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#381C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381C69
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C69#FFFFFF#000000##FFFFFF
##381C691.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#2A2F40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381c69;
/* rgb */ color: rgb(56, 28, 105);
/* oklch */ color: oklch(31.4% 0.126 294.7);
Tailwind
colors: {
  custom: {
    50: '#745b95',
    500: '#381c69',
    950: '#000000',
  },
}
SCSS
$custom: #381c69;
$custom-light: #745b95;
$custom-dark: #000000;
JSON
{
  "hex": "#381c69",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3139,
    "c": 0.12637,
    "h": 294.7
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#381C69
secondary
#7D9E43
accent
#E147A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #381C69

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

Preview Lab → · Contrast checker → · Palette generator →

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