#393356#393356

#393356 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.4% C 0.060 H 290.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#393356
RGBrgb(57, 51, 86)
HSLhsl(250, 26%, 27%)
HSVhsv(250, 41%, 34%)
CMYKcmyk(33.7%, 40.7%, 0%, 66.3%)
CIE-LABlab(23.37, 11.86, -20.25)
CIE-LCHlch(23.37, 23.47, 300.35°)
OKLaboklab(34.4% 0.0214 -0.0566)
OKLCHoklch(34.4% 0.061 290.7)
XYZxyz(4.5505, 3.9093, 9.3171)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393356 #505633
analogous
#333F56 #393356 #4B3356
triadic
#393356 #563933 #335639
tetradic
#393356 #56333F #505633 #33564B
square
#393356 #56333F #505633 #33564B
split-complementary
#393356 #564B33 #3F5633
monochromatic
#0D0B13 #201C30 #393356 #524A7C #6D62A2

Accessibility & contrast

On white

11.79
#393356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#393356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393356
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393356#FFFFFF#000000##FFFFFF
##3933561.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293857
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#323940
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #393356;
/* rgb */ color: rgb(57, 51, 86);
/* oklch */ color: oklch(34.4% 0.060 290.7);
Tailwind
colors: {
  custom: {
    50: '#706a86',
    500: '#393356',
    950: '#000000',
  },
}
SCSS
$custom: #393356;
$custom-light: #706a86;
$custom-dark: #000000;
JSON
{
  "hex": "#393356",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 86
  },
  "hsl": {
    "h": 250.286,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.0605,
    "h": 290.7
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#393356
secondary
#80875E
accent
#C266B2
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #393356

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

Preview Lab → · Contrast checker → · Palette generator →

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