#381C60#381C60

#381C60 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.115 H 298.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#381C60
RGBrgb(56, 28, 96)
HSLhsl(265, 55%, 24%)
HSVhsv(265, 71%, 38%)
CMYKcmyk(41.7%, 70.8%, 0%, 62.4%)
CIE-LABlab(17.99, 29.66, -35.47)
CIE-LCHlch(17.99, 46.23, 309.90°)
OKLaboklab(30.6% 0.0542 -0.1011)
OKLCHoklch(30.6% 0.115 298.2)
XYZxyz(4.1569, 2.5157, 11.3306)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C60 #44601C
analogous
#1C2260 #381C60 #5A1C60
triadic
#381C60 #60381C #1C6038
tetradic
#381C60 #601C22 #44601C #1C605A
square
#381C60 #601C22 #44601C #1C605A
split-complementary
#381C60 #605A1C #22601C
monochromatic
#0E0718 #1C0E31 #381C60 #542A8F #6F38BF

Accessibility & contrast

On white

13.97
#381C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##381C60#FFFFFF#000000##FFFFFF
##381C601.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)
#002C62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#2E2C3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381c60;
/* rgb */ color: rgb(56, 28, 96);
/* oklch */ color: oklch(30.6% 0.115 298.2);
Tailwind
colors: {
  custom: {
    50: '#725a8e',
    500: '#381c60',
    950: '#000000',
  },
}
SCSS
$custom: #381c60;
$custom-light: #725a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#381c60",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 264.706,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.11474,
    "h": 298.2
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#381C60
secondary
#739542
accent
#DE4AA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #381C60

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

Preview Lab → · Contrast checker → · Palette generator →

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