#2A0A37#2A0A37

#2A0A37 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.087 H 314.3°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2A0A37
RGBrgb(42, 10, 55)
HSLhsl(283, 69%, 13%)
HSVhsv(283, 82%, 22%)
CMYKcmyk(23.6%, 81.8%, 0%, 78.4%)
CIE-LABlab(8.87, 24.91, -21.97)
CIE-LCHlch(8.87, 33.22, 318.59°)
OKLaboklab(22.53% 0.0605 -0.0619)
OKLCHoklch(22.53% 0.087 314.3)
XYZxyz(1.7529, 0.9852, 3.7115)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A37 #17370A
analogous
#140A37 #2A0A37 #370A2D
triadic
#2A0A37 #372A0A #0A372A
tetradic
#2A0A37 #37140A #17370A #0A2D37
square
#2A0A37 #37140A #17370A #0A2D37
split-complementary
#2A0A37 #2D370A #0A3714
monochromatic
#14051A #14051A #2A0A37 #52136B #791D9F

Accessibility & contrast

On white

17.54
#2A0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A0A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A37
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A37#FFFFFF#000000##FFFFFF
##2A0A371.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#081A36
Tritanopia (blue-blind)
#29131F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0a37;
/* rgb */ color: rgb(42, 10, 55);
/* oklch */ color: oklch(22.5% 0.087 314.3);
Tailwind
colors: {
  custom: {
    50: '#664c6e',
    500: '#2a0a37',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a37;
$custom-light: #664c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a37",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 282.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22534,
    "c": 0.08657,
    "h": 314.3
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#2A0A37
secondary
#3E7428
accent
#EC3C6F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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