#2A0F35#2A0F35

#2A0F35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.076 H 314.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2A0F35
RGBrgb(42, 15, 53)
HSLhsl(283, 56%, 13%)
HSVhsv(283, 72%, 21%)
CMYKcmyk(20.8%, 71.7%, 0%, 79.2%)
CIE-LABlab(9.73, 21.59, -19.14)
CIE-LCHlch(9.73, 28.85, 318.44°)
OKLaboklab(23.1% 0.0535 -0.0537)
OKLCHoklch(23.1% 0.076 314.9)
XYZxyz(1.7682, 1.0910, 3.4849)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F35 #1A350F
analogous
#170F35 #2A0F35 #350F2D
triadic
#2A0F35 #352A0F #0F352A
tetradic
#2A0F35 #35170F #1A350F #0F2D35
square
#2A0F35 #35170F #1A350F #0F2D35
split-complementary
#2A0F35 #2D350F #0F3517
monochromatic
#130718 #130718 #2A0F35 #501C65 #762A94

Accessibility & contrast

On white

17.24
#2A0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F35
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F35#FFFFFF#000000##FFFFFF
##2A0F351.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#0E1C34
Tritanopia (blue-blind)
#291620
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0f35;
/* rgb */ color: rgb(42, 15, 53);
/* oklch */ color: oklch(23.1% 0.076 314.9);
Tailwind
colors: {
  custom: {
    50: '#654f6c',
    500: '#2a0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f35;
$custom-light: #654f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f35",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 282.632,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23104,
    "c": 0.07575,
    "h": 314.9
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#2A0F35
secondary
#436F31
accent
#DF4974
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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