#2A0735#2A0735

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

Color values

HEX#2A0735
RGBrgb(42, 7, 53)
HSLhsl(286, 77%, 12%)
HSVhsv(286, 87%, 21%)
CMYKcmyk(20.8%, 86.8%, 0%, 79.2%)
CIE-LABlab(8.14, 26.02, -21.69)
CIE-LCHlch(8.14, 33.87, 320.19°)
OKLaboklab(21.97% 0.0648 -0.061)
OKLCHoklch(21.97% 0.089 316.7)
XYZxyz(1.6733, 0.9013, 3.4533)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0735 #123507
analogous
#130735 #2A0735 #350729
triadic
#2A0735 #352A07 #07352A
tetradic
#2A0735 #351307 #123507 #072935
square
#2A0735 #351307 #123507 #072935
split-complementary
#2A0735 #293507 #073513
monochromatic
#15041B #15041B #2A0735 #550E6B #8015A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A0735#FFFFFF#000000##FFFFFF
##2A07351.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)
#001636
Deuteranopia (green-blind)
#071934
Tritanopia (blue-blind)
#29111D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0735;
/* rgb */ color: rgb(42, 7, 53);
/* oklch */ color: oklch(22.0% 0.089 316.7);
Tailwind
colors: {
  custom: {
    50: '#664a6c',
    500: '#2a0735',
    950: '#000000',
  },
}
SCSS
$custom: #2a0735;
$custom-light: #664a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0735",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 285.652,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21965,
    "c": 0.08905,
    "h": 316.7
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2A0735
secondary
#377523
accent
#F33562
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0735

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

Preview Lab → · Contrast checker → · Palette generator →

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