#2A0639#2A0639

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

Color values

HEX#2A0639
RGBrgb(42, 6, 57)
HSLhsl(282, 81%, 12%)
HSVhsv(282, 89%, 22%)
CMYKcmyk(26.3%, 89.5%, 0%, 77.6%)
CIE-LABlab(8.29, 27.55, -24.36)
CIE-LCHlch(8.29, 36.77, 318.52°)
OKLaboklab(22.18% 0.0655 -0.0689)
OKLCHoklch(22.18% 0.095 313.6)
XYZxyz(1.7584, 0.9180, 3.9547)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0639 #153906
analogous
#110639 #2A0639 #39062F
triadic
#2A0639 #392A06 #06392A
tetradic
#2A0639 #391106 #153906 #062F39
square
#2A0639 #391106 #153906 #062F39
split-complementary
#2A0639 #2F3906 #063911
monochromatic
#14031C #14031C #2A0639 #530C70 #7C12A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A0639#FFFFFF#000000##FFFFFF
##2A06391.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)
#00163A
Deuteranopia (green-blind)
#021938
Tritanopia (blue-blind)
#28121F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0639;
/* rgb */ color: rgb(42, 6, 57);
/* oklch */ color: oklch(22.2% 0.095 313.6);
Tailwind
colors: {
  custom: {
    50: '#664a70',
    500: '#2a0639',
    950: '#000000',
  },
}
SCSS
$custom: #2a0639;
$custom-light: #664a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0639",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 282.353,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22177,
    "c": 0.09503,
    "h": 313.6
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2A0639
secondary
#3B7922
accent
#F7306B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0639

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

Preview Lab → · Contrast checker → · Palette generator →

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