#393045#393045

#393045 is a dark, muted violet. Relative luminance 0.034; OKLCH L 32.8% C 0.038 H 303.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#393045
RGBrgb(57, 48, 69)
HSLhsl(266, 18%, 23%)
HSVhsv(266, 30%, 27%)
CMYKcmyk(17.4%, 30.4%, 0%, 72.9%)
CIE-LABlab(21.63, 9.05, -11.60)
CIE-LCHlch(21.63, 14.71, 307.97°)
OKLaboklab(32.79% 0.0214 -0.0318)
OKLCHoklch(32.79% 0.038 303.9)
XYZxyz(3.8183, 3.4134, 6.0868)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393045 #3C4530
analogous
#303145 #393045 #433045
triadic
#393045 #453930 #304539
tetradic
#393045 #453031 #3C4530 #304543
square
#393045 #453031 #3C4530 #304543
split-complementary
#393045 #454330 #314530
monochromatic
#0F0D12 #1B1721 #393045 #574969 #75628D

Accessibility & contrast

On white

12.48
#393045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#393045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393045
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393045#FFFFFF#000000##FFFFFF
##3930451.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3446
Deuteranopia (green-blind)
#2E3444
Tritanopia (blue-blind)
#373337
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #393045;
/* rgb */ color: rgb(57, 48, 69);
/* oklch */ color: oklch(32.8% 0.038 303.9);
Tailwind
colors: {
  custom: {
    50: '#6f6878',
    500: '#393045',
    950: '#000000',
  },
}
SCSS
$custom: #393045;
$custom-light: #6f6878;
$custom-dark: #000000;
JSON
{
  "hex": "#393045",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 265.714,
    "s": 17.949,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3279,
    "c": 0.03829,
    "h": 303.9
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#393045
secondary
#6A765B
accent
#BB6D99
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #393045

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

Preview Lab → · Contrast checker → · Palette generator →

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