#2A0635#2A0635

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

Color values

HEX#2A0635
RGBrgb(42, 6, 53)
HSLhsl(286, 80%, 12%)
HSVhsv(286, 89%, 21%)
CMYKcmyk(20.8%, 88.7%, 0%, 79.2%)
CIE-LABlab(7.95, 26.58, -22.00)
CIE-LCHlch(7.95, 34.50, 320.38°)
OKLaboklab(21.83% 0.0663 -0.0619)
OKLCHoklch(21.83% 0.091 316.9)
XYZxyz(1.6625, 0.8796, 3.4497)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0635 #113506
analogous
#130635 #2A0635 #350629
triadic
#2A0635 #352A06 #06352A
tetradic
#2A0635 #351306 #113506 #062935
square
#2A0635 #351306 #113506 #062935
split-complementary
#2A0635 #293506 #063513
monochromatic
#16031B #16031B #2A0635 #560C6C #8112A3

Accessibility & contrast

On white

17.86
#2A0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0635
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0635#FFFFFF#000000##FFFFFF
##2A06351.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#29101D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0635;
/* rgb */ color: rgb(42, 6, 53);
/* oklch */ color: oklch(21.8% 0.091 316.9);
Tailwind
colors: {
  custom: {
    50: '#664a6c',
    500: '#2a0635',
    950: '#000000',
  },
}
SCSS
$custom: #2a0635;
$custom-light: #664a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0635",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 285.957,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21826,
    "c": 0.09072,
    "h": 316.9
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#2A0635
secondary
#357521
accent
#F63260
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0635

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

Preview Lab → · Contrast checker → · Palette generator →

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