#42384C#42384C

#42384C is a dark, muted violet. Relative luminance 0.045; OKLCH L 35.9% C 0.036 H 307.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#42384C
RGBrgb(66, 56, 76)
HSLhsl(270, 15%, 26%)
HSVhsv(270, 26%, 30%)
CMYKcmyk(13.2%, 26.3%, 0%, 70.2%)
CIE-LABlab(25.29, 8.96, -10.60)
CIE-LCHlch(25.29, 13.88, 310.20°)
OKLaboklab(35.94% 0.022 -0.0289)
OKLCHoklch(35.94% 0.036 307.3)
XYZxyz(4.9652, 4.5084, 7.4447)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42384C #424C38
analogous
#38384C #42384C #4C384C
triadic
#42384C #4C4238 #384C42
tetradic
#42384C #4C3838 #424C38 #384C4C
square
#42384C #4C3838 #424C38 #384C4C
split-complementary
#42384C #4C4C38 #384C38
monochromatic
#0F0D12 #231E29 #42384C #61526F #7F6C92

Accessibility & contrast

On white

11.04
#42384C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#42384C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42384C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42384C#FFFFFF#000000##FFFFFF
##42384C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#373C4B
Tritanopia (blue-blind)
#413B3F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #42384c;
/* rgb */ color: rgb(66, 56, 76);
/* oklch */ color: oklch(35.9% 0.036 307.3);
Tailwind
colors: {
  custom: {
    50: '#766e7e',
    500: '#42384c',
    950: '#000000',
  },
}
SCSS
$custom: #42384c;
$custom-light: #766e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#42384c",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 76
  },
  "hsl": {
    "h": 270,
    "s": 15.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.03631,
    "h": 307.3
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#42384C
secondary
#707C64
accent
#B87094
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #42384C

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

Preview Lab → · Contrast checker → · Palette generator →

#42384C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva