#382846#382846

#382846 is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.9% C 0.056 H 307.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#382846
RGBrgb(56, 40, 70)
HSLhsl(272, 27%, 22%)
HSVhsv(272, 43%, 27%)
CMYKcmyk(20%, 42.9%, 0%, 72.5%)
CIE-LABlab(19.23, 14.43, -16.00)
CIE-LCHlch(19.23, 21.54, 312.04°)
OKLaboklab(30.95% 0.0345 -0.0443)
OKLCHoklch(30.95% 0.056 307.9)
XYZxyz(3.4950, 2.8006, 6.1496)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382846 #364628
analogous
#292846 #382846 #462845
triadic
#382846 #463828 #284638
tetradic
#382846 #462928 #364628 #284546
square
#382846 #462928 #364628 #284546
split-complementary
#382846 #454628 #284629
monochromatic
#100B13 #19121F #382846 #573E6D #765594

Accessibility & contrast

On white

13.46
#382846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#382846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382846
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382846#FFFFFF#000000##FFFFFF
##3828461.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E47
Deuteranopia (green-blind)
#252F45
Tritanopia (blue-blind)
#362C33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #382846;
/* rgb */ color: rgb(56, 40, 70);
/* oklch */ color: oklch(30.9% 0.056 307.9);
Tailwind
colors: {
  custom: {
    50: '#6f6279',
    500: '#382846',
    950: '#000000',
  },
}
SCSS
$custom: #382846;
$custom-light: #6f6279;
$custom-dark: #000000;
JSON
{
  "hex": "#382846",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 272,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.05613,
    "h": 307.9
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#382846
secondary
#647852
accent
#C46491
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #382846

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

Preview Lab → · Contrast checker → · Palette generator →

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