#2A0737#2A0737

#2A0737 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.091 H 315.0°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2A0737
RGBrgb(42, 7, 55)
HSLhsl(284, 77%, 12%)
HSVhsv(284, 87%, 22%)
CMYKcmyk(23.6%, 87.3%, 0%, 78.4%)
CIE-LABlab(8.31, 26.51, -22.88)
CIE-LCHlch(8.31, 35.01, 319.20°)
OKLaboklab(22.14% 0.0645 -0.0645)
OKLCHoklch(22.14% 0.091 315)
XYZxyz(1.7203, 0.9201, 3.7007)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0737 #143707
analogous
#120737 #2A0737 #37072C
triadic
#2A0737 #372A07 #07372A
tetradic
#2A0737 #371207 #143707 #072C37
square
#2A0737 #371207 #143707 #072C37
split-complementary
#2A0737 #2C3707 #073712
monochromatic
#15031B #15031B #2A0737 #530E6D #7D15A4

Accessibility & contrast

On white

17.74
#2A0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0737
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0737#FFFFFF#000000##FFFFFF
##2A07371.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#29111E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0737;
/* rgb */ color: rgb(42, 7, 55);
/* oklch */ color: oklch(22.1% 0.091 315.0);
Tailwind
colors: {
  custom: {
    50: '#664b6e',
    500: '#2a0737',
    950: '#000000',
  },
}
SCSS
$custom: #2a0737;
$custom-light: #664b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0737",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 283.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22136,
    "c": 0.09125,
    "h": 315
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#2A0737
secondary
#3A7723
accent
#F43468
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0737

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

Preview Lab → · Contrast checker → · Palette generator →

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