#383246#383246

#383246 is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.2% C 0.036 H 298.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#383246
RGBrgb(56, 50, 70)
HSLhsl(258, 17%, 24%)
HSVhsv(258, 29%, 27%)
CMYKcmyk(20%, 28.6%, 0%, 72.5%)
CIE-LABlab(22.17, 7.57, -11.44)
CIE-LCHlch(22.17, 13.72, 303.47°)
OKLaboklab(33.2% 0.0168 -0.0314)
OKLCHoklch(33.2% 0.036 298.2)
XYZxyz(3.8767, 3.5641, 6.2769)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383246 #404632
analogous
#323646 #383246 #423246
triadic
#383246 #463832 #324638
tetradic
#383246 #463236 #404632 #324642
square
#383246 #463236 #404632 #324642
split-complementary
#383246 #464232 #364632
monochromatic
#0E0D12 #1B1822 #383246 #554B6A #71658D

Accessibility & contrast

On white

12.26
#383246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#383246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383246
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383246#FFFFFF#000000##FFFFFF
##3832461.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3547
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#363539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #383246;
/* rgb */ color: rgb(56, 50, 70);
/* oklch */ color: oklch(33.2% 0.036 298.2);
Tailwind
colors: {
  custom: {
    50: '#6f6979',
    500: '#383246',
    950: '#000000',
  },
}
SCSS
$custom: #383246;
$custom-light: #6f6979;
$custom-dark: #000000;
JSON
{
  "hex": "#383246",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 70
  },
  "hsl": {
    "h": 258,
    "s": 16.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.332,
    "c": 0.03558,
    "h": 298.2
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#383246
secondary
#6F765E
accent
#B96EA3
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #383246

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

Preview Lab → · Contrast checker → · Palette generator →

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