#382467#382467

#382467 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.112 H 292.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#382467
RGBrgb(56, 36, 103)
HSLhsl(258, 48%, 27%)
HSVhsv(258, 65%, 40%)
CMYKcmyk(45.6%, 65%, 0%, 59.6%)
CIE-LABlab(20.37, 26.89, -36.22)
CIE-LCHlch(20.37, 45.11, 306.59°)
OKLaboklab(32.5% 0.0435 -0.1033)
OKLCHoklch(32.5% 0.112 292.8)
XYZxyz(4.7093, 3.0816, 13.1760)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382467 #536724
analogous
#243267 #382467 #592467
triadic
#382467 #673824 #246738
tetradic
#382467 #672432 #536724 #246759
square
#382467 #672432 #536724 #246759
split-complementary
#382467 #675924 #326724
monochromatic
#0C0817 #1F143A #382467 #513494 #6B47BF

Accessibility & contrast

On white

12.99
#382467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#382467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382467
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382467#FFFFFF#000000##FFFFFF
##3824671.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#2B3341
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382467;
/* rgb */ color: rgb(56, 36, 103);
/* oklch */ color: oklch(32.5% 0.112 292.8);
Tailwind
colors: {
  custom: {
    50: '#736093',
    500: '#382467',
    950: '#000000',
  },
}
SCSS
$custom: #382467;
$custom-light: #736093;
$custom-dark: #000000;
JSON
{
  "hex": "#382467",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 257.91,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.11213,
    "h": 292.8
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#382467
secondary
#839A4C
accent
#D850AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #382467

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

Preview Lab → · Contrast checker → · Palette generator →

#382467 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva