#2A0637#2A0637

#2A0637 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 315.2°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#2A0637
RGBrgb(42, 6, 55)
HSLhsl(284, 80%, 12%)
HSVhsv(284, 89%, 22%)
CMYKcmyk(23.6%, 89.1%, 0%, 78.4%)
CIE-LABlab(8.11, 27.06, -23.19)
CIE-LCHlch(8.11, 35.63, 319.41°)
OKLaboklab(22% 0.0659 -0.0654)
OKLCHoklch(22% 0.093 315.2)
XYZxyz(1.7094, 0.8984, 3.6970)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0637 #133706
analogous
#120637 #2A0637 #37062C
triadic
#2A0637 #372A06 #06372A
tetradic
#2A0637 #371206 #133706 #062C37
square
#2A0637 #371206 #133706 #062C37
split-complementary
#2A0637 #2C3706 #063712
monochromatic
#15031C #15031C #2A0637 #540C6E #7E12A5

Accessibility & contrast

On white

17.80
#2A0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0637
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0637#FFFFFF#000000##FFFFFF
##2A06371.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#041936
Tritanopia (blue-blind)
#29111E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0637;
/* rgb */ color: rgb(42, 6, 55);
/* oklch */ color: oklch(22.0% 0.093 315.2);
Tailwind
colors: {
  custom: {
    50: '#664a6e',
    500: '#2a0637',
    950: '#000000',
  },
}
SCSS
$custom: #2a0637;
$custom-light: #664a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0637",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 284.082,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22,
    "c": 0.09287,
    "h": 315.2
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#2A0637
secondary
#387721
accent
#F73166
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0637

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

Preview Lab → · Contrast checker → · Palette generator →

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