#381F69#381F69

#381F69 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 293.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#381F69
RGBrgb(56, 31, 105)
HSLhsl(260, 54%, 27%)
HSVhsv(260, 70%, 41%)
CMYKcmyk(46.7%, 70.5%, 0%, 58.8%)
CIE-LABlab(19.39, 30.57, -39.11)
CIE-LCHlch(19.39, 49.64, 308.02°)
OKLaboklab(31.84% 0.0494 -0.1118)
OKLCHoklch(31.84% 0.122 293.8)
XYZxyz(4.6700, 2.8405, 13.6641)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381F69 #50691F
analogous
#1F2B69 #381F69 #5D1F69
triadic
#381F69 #69381F #1F6938
tetradic
#381F69 #691F2B #50691F #1F695D
square
#381F69 #691F2B #50691F #1F695D
split-complementary
#381F69 #695D1F #2B691F
monochromatic
#0D0718 #1F113A #381F69 #512D98 #6B3DC6

Accessibility & contrast

On white

13.39
#381F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#381F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381F69
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381F69#FFFFFF#000000##FFFFFF
##381F691.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#2A3141
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381f69;
/* rgb */ color: rgb(56, 31, 105);
/* oklch */ color: oklch(31.8% 0.122 293.8);
Tailwind
colors: {
  custom: {
    50: '#735c94',
    500: '#381f69',
    950: '#000000',
  },
}
SCSS
$custom: #381f69;
$custom-light: #735c94;
$custom-dark: #000000;
JSON
{
  "hex": "#381f69",
  "rgb": {
    "r": 56,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 260.27,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31843,
    "c": 0.12224,
    "h": 293.8
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#381F69
secondary
#809D47
accent
#DE4AAC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381F69

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

Preview Lab → · Contrast checker → · Palette generator →

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