#2A0634#2A0634

#2A0634 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.090 H 317.8°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#2A0634
RGBrgb(42, 6, 52)
HSLhsl(287, 79%, 11%)
HSVhsv(287, 88%, 20%)
CMYKcmyk(19.2%, 88.5%, 0%, 79.6%)
CIE-LABlab(7.86, 26.34, -21.40)
CIE-LCHlch(7.86, 33.93, 320.90°)
OKLaboklab(21.74% 0.0664 -0.0602)
OKLCHoklch(21.74% 0.09 317.8)
XYZxyz(1.6397, 0.8705, 3.3298)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0634 #103406
analogous
#130634 #2A0634 #340627
triadic
#2A0634 #342A06 #06342A
tetradic
#2A0634 #341306 #103406 #062734
square
#2A0634 #341306 #103406 #062734
split-complementary
#2A0634 #273406 #063413
monochromatic
#16031B #16031B #2A0634 #560C6B #8313A2

Accessibility & contrast

On white

17.89
#2A0634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0634
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0634#FFFFFF#000000##FFFFFF
##2A06341.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#2A0F1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0634;
/* rgb */ color: rgb(42, 6, 52);
/* oklch */ color: oklch(21.7% 0.090 317.8);
Tailwind
colors: {
  custom: {
    50: '#664a6c',
    500: '#2a0634',
    950: '#000000',
  },
}
SCSS
$custom: #2a0634;
$custom-light: #664a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0634",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 286.957,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21741,
    "c": 0.08966,
    "h": 317.8
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#2A0634
secondary
#337421
accent
#F6325D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0634

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

Preview Lab → · Contrast checker → · Palette generator →

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