#2A033B#2A033B

#2A033B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.102 H 312.6°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2A033B
RGBrgb(42, 3, 59)
HSLhsl(282, 90%, 12%)
HSVhsv(282, 95%, 23%)
CMYKcmyk(28.8%, 94.9%, 0%, 76.9%)
CIE-LABlab(7.89, 29.73, -26.45)
CIE-LCHlch(7.89, 39.80, 318.34°)
OKLaboklab(21.95% 0.0691 -0.075)
OKLCHoklch(21.95% 0.102 312.6)
XYZxyz(1.7767, 0.8732, 4.2118)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A033B #143B03
analogous
#0E033B #2A033B #3B0330
triadic
#2A033B #3B2A03 #033B2A
tetradic
#2A033B #3B0E03 #143B03 #03303B
square
#2A033B #3B0E03 #143B03 #03303B
split-complementary
#2A033B #303B03 #033B0E
monochromatic
#15011D #15011D #2A033B #530675 #7D09AF

Accessibility & contrast

On white

17.88
#2A033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A033B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A033B#FFFFFF#000000##FFFFFF
##2A033B1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#28111F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a033b;
/* rgb */ color: rgb(42, 3, 59);
/* oklch */ color: oklch(22.0% 0.102 312.6);
Tailwind
colors: {
  custom: {
    50: '#674971',
    500: '#2a033b',
    950: '#000000',
  },
}
SCSS
$custom: #2a033b;
$custom-light: #674971;
$custom-dark: #000000;
JSON
{
  "hex": "#2a033b",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 281.786,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21954,
    "c": 0.10196,
    "h": 312.6
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#2A033B
secondary
#3A7E1C
accent
#FF296A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A033B

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

Preview Lab → · Contrast checker → · Palette generator →

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