#381E65#381E65

#381E65 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.118 H 295.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#381E65
RGBrgb(56, 30, 101)
HSLhsl(262, 54%, 26%)
HSVhsv(262, 70%, 40%)
CMYKcmyk(44.6%, 70.3%, 0%, 60.4%)
CIE-LABlab(18.84, 29.96, -37.39)
CIE-LCHlch(18.84, 47.91, 308.70°)
OKLaboklab(31.34% 0.0511 -0.1068)
OKLCHoklch(31.34% 0.118 295.6)
XYZxyz(4.4435, 2.7088, 12.5981)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E65 #4B651E
analogous
#1E2765 #381E65 #5B1E65
triadic
#381E65 #65381E #1E6538
tetradic
#381E65 #651E27 #4B651E #1E655B
square
#381E65 #651E27 #4B651E #1E655B
split-complementary
#381E65 #655B1E #27651E
monochromatic
#0D0718 #1E1036 #381E65 #522C94 #6C3AC3

Accessibility & contrast

On white

13.62
#381E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381E65
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E65#FFFFFF#000000##FFFFFF
##381E651.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#2C2F3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381e65;
/* rgb */ color: rgb(56, 30, 101);
/* oklch */ color: oklch(31.3% 0.118 295.6);
Tailwind
colors: {
  custom: {
    50: '#735c91',
    500: '#381e65',
    950: '#000000',
  },
}
SCSS
$custom: #381e65;
$custom-light: #735c91;
$custom-dark: #000000;
JSON
{
  "hex": "#381e65",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 261.972,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31337,
    "c": 0.11839,
    "h": 295.6
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#381E65
secondary
#7B9A45
accent
#DE4AA8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381E65

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

Preview Lab → · Contrast checker → · Palette generator →

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