#2A0F37#2A0F37

#2A0F37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.078 H 313.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2A0F37
RGBrgb(42, 15, 55)
HSLhsl(281, 57%, 14%)
HSVhsv(281, 73%, 22%)
CMYKcmyk(23.6%, 72.7%, 0%, 78.4%)
CIE-LABlab(9.87, 22.12, -20.36)
CIE-LCHlch(9.87, 30.06, 317.37°)
OKLaboklab(23.26% 0.0535 -0.0572)
OKLCHoklch(23.26% 0.078 313.1)
XYZxyz(1.8151, 1.1098, 3.7323)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F37 #1C370F
analogous
#160F37 #2A0F37 #370F30
triadic
#2A0F37 #372A0F #0F372A
tetradic
#2A0F37 #37160F #1C370F #0F3037
square
#2A0F37 #37160F #1C370F #0F3037
split-complementary
#2A0F37 #30370F #0F3716
monochromatic
#120718 #120718 #2A0F37 #4F1C67 #732997

Accessibility & contrast

On white

17.18
#2A0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F37
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F37#FFFFFF#000000##FFFFFF
##2A0F371.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A38
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#291621
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0f37;
/* rgb */ color: rgb(42, 15, 55);
/* oklch */ color: oklch(23.3% 0.078 313.1);
Tailwind
colors: {
  custom: {
    50: '#654f6e',
    500: '#2a0f37',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f37;
$custom-light: #654f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f37",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 280.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23258,
    "c": 0.07831,
    "h": 313.1
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#2A0F37
secondary
#467131
accent
#E04779
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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