#2A043B#2A043B

#2A043B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.100 H 312.4°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2A043B
RGBrgb(42, 4, 59)
HSLhsl(281, 87%, 12%)
HSVhsv(281, 93%, 23%)
CMYKcmyk(28.8%, 93.2%, 0%, 76.9%)
CIE-LABlab(8.08, 29.16, -26.14)
CIE-LCHlch(8.08, 39.16, 318.13°)
OKLaboklab(22.09% 0.0677 -0.0741)
OKLCHoklch(22.09% 0.1 312.4)
XYZxyz(1.7875, 0.8949, 4.2154)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A043B #153B04
analogous
#0F043B #2A043B #3B0430
triadic
#2A043B #3B2A04 #043B2A
tetradic
#2A043B #3B0F04 #153B04 #04303B
square
#2A043B #3B0F04 #153B04 #04303B
split-complementary
#2A043B #303B04 #043B0F
monochromatic
#14021D #14021D #2A043B #530874 #7C0CAE

Accessibility & contrast

On white

17.81
#2A043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A043B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A043B#FFFFFF#000000##FFFFFF
##2A043B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#281120
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a043b;
/* rgb */ color: rgb(42, 4, 59);
/* oklch */ color: oklch(22.1% 0.100 312.4);
Tailwind
colors: {
  custom: {
    50: '#664971',
    500: '#2a043b',
    950: '#000000',
  },
}
SCSS
$custom: #2a043b;
$custom-light: #664971;
$custom-dark: #000000;
JSON
{
  "hex": "#2a043b",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 281.455,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2209,
    "c": 0.10034,
    "h": 312.4
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#2A043B
secondary
#3B7D1E
accent
#FD2A6C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A043B

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

Preview Lab → · Contrast checker → · Palette generator →

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