#42304E#42304E

#42304E is a dark, muted violet. Relative luminance 0.038; OKLCH L 34.3% C 0.056 H 311.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#42304E
RGBrgb(66, 48, 78)
HSLhsl(276, 24%, 25%)
HSVhsv(276, 38%, 31%)
CMYKcmyk(15.4%, 38.5%, 0%, 69.4%)
CIE-LABlab(23.08, 14.82, -15.33)
CIE-LCHlch(23.08, 21.32, 314.03°)
OKLaboklab(34.28% 0.0368 -0.0422)
OKLCHoklch(34.28% 0.056 311.1)
XYZxyz(4.6786, 3.8223, 7.6976)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42304E #3C4E30
analogous
#33304E #42304E #4E304B
triadic
#42304E #4E4230 #304E42
tetradic
#42304E #4E3330 #3C4E30 #304B4E
square
#42304E #4E3330 #3C4E30 #304B4E
split-complementary
#42304E #4B4E30 #304E33
monochromatic
#100C13 #221928 #42304E #624774 #825F9A

Accessibility & contrast

On white

11.90
#42304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#42304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42304E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42304E#FFFFFF#000000##FFFFFF
##42304E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#41343B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #42304e;
/* rgb */ color: rgb(66, 48, 78);
/* oklch */ color: oklch(34.3% 0.056 311.1);
Tailwind
colors: {
  custom: {
    50: '#77687f',
    500: '#42304e',
    950: '#000000',
  },
}
SCSS
$custom: #42304e;
$custom-light: #77687f;
$custom-dark: #000000;
JSON
{
  "hex": "#42304e",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 276,
    "s": 23.81,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34275,
    "c": 0.05598,
    "h": 311.1
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#42304E
secondary
#697F5B
accent
#C0688B
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #42304E

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

Preview Lab → · Contrast checker → · Palette generator →

#42304E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva