#42384A#42384A

#42384A is a dark, muted violet. Relative luminance 0.045; OKLCH L 35.8% C 0.033 H 309.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#42384A
RGBrgb(66, 56, 74)
HSLhsl(273, 14%, 25%)
HSVhsv(273, 24%, 29%)
CMYKcmyk(10.8%, 24.3%, 0%, 71%)
CIE-LABlab(25.20, 8.46, -9.40)
CIE-LCHlch(25.20, 12.65, 311.96°)
OKLaboklab(35.85% 0.0213 -0.0255)
OKLCHoklch(35.85% 0.033 309.8)
XYZxyz(4.8968, 4.4810, 7.0842)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42384A #404A38
analogous
#39384A #42384A #4A3849
triadic
#42384A #4A4238 #384A42
tetradic
#42384A #4A3938 #404A38 #38494A
square
#42384A #4A3938 #404A38 #38494A
split-complementary
#42384A #494A38 #384A39
monochromatic
#100D11 #231E27 #42384A #61526D #806D90

Accessibility & contrast

On white

11.07
#42384A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42384A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42384A#FFFFFF#000000##FFFFFF
##42384A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#373C49
Tritanopia (blue-blind)
#413A3E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #42384a;
/* rgb */ color: rgb(66, 56, 74);
/* oklch */ color: oklch(35.8% 0.033 309.8);
Tailwind
colors: {
  custom: {
    50: '#766e7c',
    500: '#42384a',
    950: '#000000',
  },
}
SCSS
$custom: #42384a;
$custom-light: #766e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42384a",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 74
  },
  "hsl": {
    "h": 273.333,
    "s": 13.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35845,
    "c": 0.03322,
    "h": 309.8
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#42384A
secondary
#6E7A64
accent
#B77190
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080709
muted
#7B7A7B

Preview Lab

Preview with #42384A

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

Preview Lab → · Contrast checker → · Palette generator →

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