#382A67#382A67

#382A67 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.6% C 0.103 H 290.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#382A67
RGBrgb(56, 42, 103)
HSLhsl(254, 42%, 28%)
HSVhsv(254, 59%, 40%)
CMYKcmyk(45.6%, 59.2%, 0%, 59.6%)
CIE-LABlab(21.86, 23.00, -33.82)
CIE-LCHlch(21.86, 40.90, 304.21°)
OKLaboklab(33.59% 0.0357 -0.0963)
OKLCHoklch(33.59% 0.103 290.3)
XYZxyz(4.9064, 3.4758, 13.2417)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A67 #59672A
analogous
#2A3A67 #382A67 #562A67
triadic
#382A67 #67382A #2A6738
tetradic
#382A67 #672A3A #59672A #2A6756
square
#382A67 #672A3A #59672A #2A6756
split-complementary
#382A67 #67562A #3A672A
monochromatic
#0C0916 #20183C #382A67 #503C92 #6A53B9

Accessibility & contrast

On white

12.39
#382A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#382A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A67
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A67#FFFFFF#000000##FFFFFF
##382A671.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093569
Deuteranopia (green-blind)
#0C3366
Tritanopia (blue-blind)
#2A3744
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382a67;
/* rgb */ color: rgb(56, 42, 103);
/* oklch */ color: oklch(33.6% 0.103 290.3);
Tailwind
colors: {
  custom: {
    50: '#726493',
    500: '#382a67',
    950: '#000000',
  },
}
SCSS
$custom: #382a67;
$custom-light: #726493;
$custom-dark: #000000;
JSON
{
  "hex": "#382a67",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 253.77,
    "s": 42.069,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.10268,
    "h": 290.3
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#382A67
secondary
#899954
accent
#D256B5
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #382A67

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

Preview Lab → · Contrast checker → · Palette generator →

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