#382B68#382B68

#382B68 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.9% C 0.103 H 289.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#382B68
RGBrgb(56, 43, 104)
HSLhsl(253, 41%, 29%)
HSVhsv(253, 59%, 41%)
CMYKcmyk(46.2%, 58.7%, 0%, 59.2%)
CIE-LABlab(22.19, 22.65, -33.94)
CIE-LCHlch(22.19, 40.80, 303.73°)
OKLaboklab(33.86% 0.0344 -0.0966)
OKLCHoklch(33.86% 0.103 289.6)
XYZxyz(4.9928, 3.5678, 13.5196)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B68 #5B682B
analogous
#2B3D68 #382B68 #572B68
triadic
#382B68 #68382B #2B6838
tetradic
#382B68 #682B3D #5B682B #2B6857
square
#382B68 #682B3D #5B682B #2B6857
split-complementary
#382B68 #68572B #3D682B
monochromatic
#0C0916 #21193D #382B68 #4F3D93 #6A55B9

Accessibility & contrast

On white

12.25
#382B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#382B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B68
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B68#FFFFFF#000000##FFFFFF
##382B681.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#0C3467
Tritanopia (blue-blind)
#2A3845
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #382b68;
/* rgb */ color: rgb(56, 43, 104);
/* oklch */ color: oklch(33.9% 0.103 289.6);
Tailwind
colors: {
  custom: {
    50: '#726493',
    500: '#382b68',
    950: '#000000',
  },
}
SCSS
$custom: #382b68;
$custom-light: #726493;
$custom-dark: #000000;
JSON
{
  "hex": "#382b68",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 252.787,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33857,
    "c": 0.10254,
    "h": 289.6
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#382B68
secondary
#8B9A55
accent
#D156B7
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #382B68

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

Preview Lab → · Contrast checker → · Palette generator →

#382B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva