#2A0627#2A0627

#2A0627 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.076 H 331.5°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2A0627
RGBrgb(42, 6, 39)
HSLhsl(305, 75%, 9%)
HSVhsv(305, 86%, 16%)
CMYKcmyk(0%, 85.7%, 7.1%, 83.5%)
CIE-LABlab(6.95, 23.25, -13.16)
CIE-LCHlch(6.95, 26.72, 330.49°)
OKLaboklab(20.74% 0.0671 -0.0364)
OKLCHoklch(20.74% 0.076 331.5)
XYZxyz(1.3862, 0.7691, 1.9945)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0627 #062A09
analogous
#1B062A #2A0627 #2A0615
triadic
#2A0627 #272A06 #06272A
tetradic
#2A0627 #2A1B06 #062A09 #06152A
square
#2A0627 #2A1B06 #062A09 #06152A
split-complementary
#2A0627 #152A06 #062A1B
monochromatic
#1B0419 #1B0419 #2A0627 #600E59 #95158A

Accessibility & contrast

On white

18.20
#2A0627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0627
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0627#FFFFFF#000000##FFFFFF
##2A06271.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#111726
Tritanopia (blue-blind)
#2C0915
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0627;
/* rgb */ color: rgb(42, 6, 39);
/* oklch */ color: oklch(20.7% 0.076 331.5);
Tailwind
colors: {
  custom: {
    50: '#654961',
    500: '#2a0627',
    950: '#000000',
  },
}
SCSS
$custom: #2a0627;
$custom-light: #654961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0627",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 305,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20742,
    "c": 0.07631,
    "h": 331.5
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#2A0627
secondary
#216B27
accent
#F24636
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0627

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

Preview Lab → · Contrast checker → · Palette generator →

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