#2A092F#2A092F

#2A092F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.079 H 322.2°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#2A092F
RGBrgb(42, 9, 47)
HSLhsl(292, 68%, 11%)
HSVhsv(292, 81%, 18%)
CMYKcmyk(10.6%, 80.9%, 0%, 81.6%)
CIE-LABlab(8.07, 23.49, -17.39)
CIE-LCHlch(8.07, 29.23, 323.48°)
OKLaboklab(21.76% 0.0624 -0.0485)
OKLCHoklch(21.76% 0.079 322.2)
XYZxyz(1.5656, 0.8929, 2.7787)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A092F #0E2F09
analogous
#17092F #2A092F #2F0921
triadic
#2A092F #2F2A09 #092F2A
tetradic
#2A092F #2F1709 #0E2F09 #09212F
square
#2A092F #2F1709 #0E2F09 #09212F
split-complementary
#2A092F #212F09 #092F17
monochromatic
#17051A #17051A #2A092F #581362 #861D96

Accessibility & contrast

On white

17.82
#2A092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A092F
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A092F#FFFFFF#000000##FFFFFF
##2A092F1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#2B0F1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a092f;
/* rgb */ color: rgb(42, 9, 47);
/* oklch */ color: oklch(21.8% 0.079 322.2);
Tailwind
colors: {
  custom: {
    50: '#654b67',
    500: '#2a092f',
    950: '#000000',
  },
}
SCSS
$custom: #2a092f;
$custom-light: #654b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a092f",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 292.105,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21763,
    "c": 0.07905,
    "h": 322.2
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#2A092F
secondary
#306D27
accent
#EB3D54
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A092F

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

Preview Lab → · Contrast checker → · Palette generator →

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