#2A0730#2A0730

#2A0730 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.084 H 321.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2A0730
RGBrgb(42, 7, 48)
HSLhsl(291, 75%, 11%)
HSVhsv(291, 85%, 19%)
CMYKcmyk(12.5%, 85.4%, 0%, 81.2%)
CIE-LABlab(7.75, 24.82, -18.64)
CIE-LCHlch(7.75, 31.04, 323.10°)
OKLaboklab(21.56% 0.0654 -0.0521)
OKLCHoklch(21.56% 0.084 321.4)
XYZxyz(1.5643, 0.8577, 2.8789)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0730 #0D3007
analogous
#150730 #2A0730 #300721
triadic
#2A0730 #302A07 #07302A
tetradic
#2A0730 #301507 #0D3007 #072130
square
#2A0730 #301507 #0D3007 #072130
split-complementary
#2A0730 #213007 #073015
monochromatic
#17041B #17041B #2A0730 #590F65 #87179B

Accessibility & contrast

On white

17.92
#2A0730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0730
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0730#FFFFFF#000000##FFFFFF
##2A07301.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0C182F
Tritanopia (blue-blind)
#2A0E1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0730;
/* rgb */ color: rgb(42, 7, 48);
/* oklch */ color: oklch(21.6% 0.084 321.4);
Tailwind
colors: {
  custom: {
    50: '#654a68',
    500: '#2a0730',
    950: '#000000',
  },
}
SCSS
$custom: #2a0730;
$custom-light: #654a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0730",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 291.22,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21557,
    "c": 0.08363,
    "h": 321.4
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#2A0730
secondary
#2E7023
accent
#F13752
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0730

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

Preview Lab → · Contrast checker → · Palette generator →

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