#2A0130#2A0130

#2A0130 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.7% C 0.095 H 322.4°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#2A0130
RGBrgb(42, 1, 48)
HSLhsl(292, 96%, 10%)
HSVhsv(292, 98%, 19%)
CMYKcmyk(12.5%, 97.9%, 0%, 81.2%)
CIE-LABlab(6.57, 28.10, -20.52)
CIE-LCHlch(6.57, 34.80, 323.87°)
OKLaboklab(20.66% 0.0753 -0.058)
OKLCHoklch(20.66% 0.095 322.4)
XYZxyz(1.4991, 0.7274, 2.8572)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0130 #073001
analogous
#120130 #2A0130 #30011F
triadic
#2A0130 #302A01 #01302A
tetradic
#2A0130 #301201 #073001 #011F30
square
#2A0130 #301201 #073001 #011F30
split-complementary
#2A0130 #1F3001 #013012
monochromatic
#1A011E #1A011E #2A0130 #5E026C #9303A8

Accessibility & contrast

On white

18.33
#2A0130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0130
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0130#FFFFFF#000000##FFFFFF
##2A01301.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#07162F
Tritanopia (blue-blind)
#2B0918
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0130;
/* rgb */ color: rgb(42, 1, 48);
/* oklch */ color: oklch(20.7% 0.095 322.4);
Tailwind
colors: {
  custom: {
    50: '#664768',
    500: '#2a0130',
    950: '#000000',
  },
}
SCSS
$custom: #2a0130;
$custom-light: #664768;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0130",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 292.34,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20661,
    "c": 0.09504,
    "h": 322.4
  },
  "luminance": 0.00727
}

Semantic roles & 50–950 ramp

primary
#2A0130
secondary
#237617
accent
#FF2944
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2A0130

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

Preview Lab → · Contrast checker → · Palette generator →

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