#382C69#382C69

#382C69 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.1% C 0.102 H 288.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#382C69
RGBrgb(56, 44, 105)
HSLhsl(252, 41%, 29%)
HSVhsv(252, 58%, 41%)
CMYKcmyk(46.7%, 58.1%, 0%, 58.8%)
CIE-LABlab(22.52, 22.31, -34.05)
CIE-LCHlch(22.52, 40.71, 303.24°)
OKLaboklab(34.13% 0.0331 -0.0969)
OKLCHoklch(34.13% 0.102 288.8)
XYZxyz(5.0807, 3.6619, 13.8010)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C69 #5D692C
analogous
#2C3F69 #382C69 #572C69
triadic
#382C69 #69382C #2C6938
tetradic
#382C69 #692C3F #5D692C #2C6957
square
#382C69 #692C3F #5D692C #2C6957
split-complementary
#382C69 #69572C #3F692C
monochromatic
#0C0916 #211A3E #382C69 #4F3E94 #6A57B9

Accessibility & contrast

On white

12.12
#382C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#382C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C69
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C69#FFFFFF#000000##FFFFFF
##382C691.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376B
Deuteranopia (green-blind)
#0D3468
Tritanopia (blue-blind)
#293946
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #382c69;
/* rgb */ color: rgb(56, 44, 105);
/* oklch */ color: oklch(34.1% 0.102 288.8);
Tailwind
colors: {
  custom: {
    50: '#726594',
    500: '#382c69',
    950: '#000000',
  },
}
SCSS
$custom: #382c69;
$custom-light: #726594;
$custom-dark: #000000;
JSON
{
  "hex": "#382c69",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 251.803,
    "s": 40.94,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34127,
    "c": 0.10243,
    "h": 288.8
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#382C69
secondary
#8D9B56
accent
#D157B9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #382C69

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

Preview Lab → · Contrast checker → · Palette generator →

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