#2A2432#2A2432

#2A2432 is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.3% C 0.027 H 304.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#2A2432
RGBrgb(42, 36, 50)
HSLhsl(266, 16%, 17%)
HSVhsv(266, 28%, 20%)
CMYKcmyk(16%, 28%, 0%, 80.4%)
CIE-LABlab(15.40, 6.29, -8.12)
CIE-LCHlch(15.40, 10.27, 307.75°)
OKLaboklab(27.32% 0.0151 -0.0221)
OKLCHoklch(27.32% 0.027 304.2)
XYZxyz(2.1613, 1.9843, 3.2861)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2432 #2C3224
analogous
#242532 #2A2432 #312432
triadic
#2A2432 #322A24 #24322A
tetradic
#2A2432 #322425 #2C3224 #243231
square
#2A2432 #322425 #2C3224 #243231
split-complementary
#2A2432 #323124 #253224
monochromatic
#0F0D12 #0F0D12 #2A2432 #483E56 #665779

Accessibility & contrast

On white

15.03
#2A2432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2A2432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2432
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2432#FFFFFF#000000##FFFFFF
##2A24321.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212633
Deuteranopia (green-blind)
#232732
Tritanopia (blue-blind)
#292629
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2a2432;
/* rgb */ color: rgb(42, 36, 50);
/* oklch */ color: oklch(27.3% 0.027 304.2);
Tailwind
colors: {
  custom: {
    50: '#635e69',
    500: '#2a2432',
    950: '#000000',
  },
}
SCSS
$custom: #2a2432;
$custom-light: #635e69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2432",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 50
  },
  "hsl": {
    "h": 265.714,
    "s": 16.279,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27315,
    "c": 0.02678,
    "h": 304.2
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#2A2432
secondary
#5A634F
accent
#B96F99
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #2A2432

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

Preview Lab → · Contrast checker → · Palette generator →

#2A2432 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva