#2A0930#2A0930

#2A0930 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.080 H 321.1°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2A0930
RGBrgb(42, 9, 48)
HSLhsl(291, 68%, 11%)
HSVhsv(291, 81%, 19%)
CMYKcmyk(12.5%, 81.3%, 0%, 81.2%)
CIE-LABlab(8.14, 23.72, -18.01)
CIE-LCHlch(8.14, 29.79, 322.79°)
OKLaboklab(21.84% 0.0624 -0.0503)
OKLCHoklch(21.84% 0.08 321.1)
XYZxyz(1.5860, 0.9011, 2.8861)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0930 #0F3009
analogous
#160930 #2A0930 #300922
triadic
#2A0930 #302A09 #09302A
tetradic
#2A0930 #301609 #0F3009 #092230
square
#2A0930 #301609 #0F3009 #092230
split-complementary
#2A0930 #223009 #093016
monochromatic
#17051A #17051A #2A0930 #571364 #841C97

Accessibility & contrast

On white

17.79
#2A0930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0930
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0930#FFFFFF#000000##FFFFFF
##2A09301.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#0D192F
Tritanopia (blue-blind)
#2A101B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0930;
/* rgb */ color: rgb(42, 9, 48);
/* oklch */ color: oklch(21.8% 0.080 321.1);
Tailwind
colors: {
  custom: {
    50: '#654b68',
    500: '#2a0930',
    950: '#000000',
  },
}
SCSS
$custom: #2a0930;
$custom-light: #654b68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0930",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 290.769,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21839,
    "c": 0.08016,
    "h": 321.1
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2A0930
secondary
#326E27
accent
#EB3D57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0930

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

Preview Lab → · Contrast checker → · Palette generator →

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