#2A0B36#2A0B36

#2A0B36 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.084 H 315.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2A0B36
RGBrgb(42, 11, 54)
HSLhsl(283, 66%, 13%)
HSVhsv(283, 80%, 21%)
CMYKcmyk(22.2%, 79.6%, 0%, 78.8%)
CIE-LABlab(8.97, 24.13, -21.07)
CIE-LCHlch(8.97, 32.04, 318.87°)
OKLaboklab(22.59% 0.0593 -0.0593)
OKLCHoklch(22.59% 0.084 315)
XYZxyz(1.7403, 0.9980, 3.5903)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B36 #17360B
analogous
#140B36 #2A0B36 #360B2C
triadic
#2A0B36 #362A0B #0B362A
tetradic
#2A0B36 #36140B #17360B #0B2C36
square
#2A0B36 #36140B #17360B #0B2C36
split-complementary
#2A0B36 #2C360B #0B3614
monochromatic
#140519 #140519 #2A0B36 #521569 #79209C

Accessibility & contrast

On white

17.51
#2A0B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B36
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B36#FFFFFF#000000##FFFFFF
##2A0B361.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#0A1A35
Tritanopia (blue-blind)
#29131F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0b36;
/* rgb */ color: rgb(42, 11, 54);
/* oklch */ color: oklch(22.6% 0.084 315.0);
Tailwind
colors: {
  custom: {
    50: '#654d6d',
    500: '#2a0b36',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b36;
$custom-light: #654d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b36",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 283.256,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22585,
    "c": 0.08383,
    "h": 315
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#2A0B36
secondary
#3E732A
accent
#E93F6E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0B36

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

Preview Lab → · Contrast checker → · Palette generator →

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