#2A2032#2A2032

#2A2032 is a dark, muted violet. Relative luminance 0.018; OKLCH L 26.4% C 0.036 H 309.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#2A2032
RGBrgb(42, 32, 50)
HSLhsl(273, 22%, 16%)
HSVhsv(273, 36%, 20%)
CMYKcmyk(16%, 36%, 0%, 80.4%)
CIE-LABlab(14.15, 9.16, -10.05)
CIE-LCHlch(14.15, 13.60, 312.36°)
OKLaboklab(26.35% 0.0226 -0.0275)
OKLCHoklch(26.35% 0.036 309.4)
XYZxyz(2.0470, 1.7556, 3.2480)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2032 #283220
analogous
#212032 #2A2032 #322031
triadic
#2A2032 #322A20 #20322A
tetradic
#2A2032 #322120 #283220 #203132
square
#2A2032 #322120 #283220 #203132
split-complementary
#2A2032 #313220 #203221
monochromatic
#100C13 #100C13 #2A2032 #493857 #69507D

Accessibility & contrast

On white

15.54
#2A2032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A2032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2032
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2032#FFFFFF#000000##FFFFFF
##2A20321.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2333
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#292226
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2032;
/* rgb */ color: rgb(42, 32, 50);
/* oklch */ color: oklch(26.4% 0.036 309.4);
Tailwind
colors: {
  custom: {
    50: '#635b6a',
    500: '#2a2032',
    950: '#000000',
  },
}
SCSS
$custom: #2a2032;
$custom-light: #635b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2032",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 50
  },
  "hsl": {
    "h": 273.333,
    "s": 21.951,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2635,
    "c": 0.03565,
    "h": 309.4
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#2A2032
secondary
#55644A
accent
#BE698F
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A

Preview Lab

Preview with #2A2032

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

Preview Lab → · Contrast checker → · Palette generator →

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