#2A0630#2A0630

#2A0630 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.085 H 321.6°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2A0630
RGBrgb(42, 6, 48)
HSLhsl(291, 78%, 11%)
HSVhsv(291, 88%, 19%)
CMYKcmyk(12.5%, 87.5%, 0%, 81.2%)
CIE-LABlab(7.55, 25.37, -18.95)
CIE-LCHlch(7.55, 31.67, 323.24°)
OKLaboklab(21.41% 0.067 -0.0531)
OKLCHoklch(21.41% 0.085 321.6)
XYZxyz(1.5534, 0.8360, 2.8753)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0630 #0C3006
analogous
#150630 #2A0630 #300621
triadic
#2A0630 #302A06 #06302A
tetradic
#2A0630 #301506 #0C3006 #062130
square
#2A0630 #301506 #0C3006 #062130
split-complementary
#2A0630 #213006 #063015
monochromatic
#18031B #18031B #2A0630 #5A0D66 #89149D

Accessibility & contrast

On white

17.99
#2A0630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0630
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0630#FFFFFF#000000##FFFFFF
##2A06301.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0630;
/* rgb */ color: rgb(42, 6, 48);
/* oklch */ color: oklch(21.4% 0.085 321.6);
Tailwind
colors: {
  custom: {
    50: '#654a68',
    500: '#2a0630',
    950: '#000000',
  },
}
SCSS
$custom: #2a0630;
$custom-light: #654a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0630",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 291.429,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21413,
    "c": 0.08543,
    "h": 321.6
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#2A0630
secondary
#2D7121
accent
#F4344F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0630

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

Preview Lab → · Contrast checker → · Palette generator →

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