#2A094A#2A094A

#2A094A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.110 H 301.2°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2A094A
RGBrgb(42, 9, 74)
HSLhsl(270, 78%, 16%)
HSVhsv(270, 88%, 29%)
CMYKcmyk(43.2%, 87.8%, 0%, 71%)
CIE-LABlab(10.42, 30.48, -32.95)
CIE-LCHlch(10.42, 44.88, 312.77°)
OKLaboklab(24.17% 0.0571 -0.0941)
OKLCHoklch(24.17% 0.11 301.2)
XYZxyz(2.2883, 1.1820, 6.5848)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A094A #294A09
analogous
#0A094A #2A094A #4A094A
triadic
#2A094A #4A2A09 #094A2A
tetradic
#2A094A #4A0A09 #294A09 #094A4A
square
#2A094A #4A0A09 #294A09 #094A4A
split-complementary
#2A094A #4A4A09 #094A0A
monochromatic
#0F031B #0F031B #2A094A #491081 #6816B7

Accessibility & contrast

On white

16.98
#2A094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2A094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A094A
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A094A#FFFFFF#000000##FFFFFF
##2A094A1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#231B2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a094a;
/* rgb */ color: rgb(42, 9, 74);
/* oklch */ color: oklch(24.2% 0.110 301.2);
Tailwind
colors: {
  custom: {
    50: '#684d7d',
    500: '#2a094a',
    950: '#000000',
  },
}
SCSS
$custom: #2a094a;
$custom-light: #684d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a094a",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 270.462,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24172,
    "c": 0.1101,
    "h": 301.2
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#2A094A
secondary
#578727
accent
#F53392
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #2A094A

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

Preview Lab → · Contrast checker → · Palette generator →

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