#2A0E4A#2A0E4A

#2A0E4A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.104 H 300.0°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2A0E4A
RGBrgb(42, 14, 74)
HSLhsl(268, 68%, 17%)
HSVhsv(268, 81%, 29%)
CMYKcmyk(43.2%, 81.1%, 0%, 71%)
CIE-LABlab(11.28, 28.02, -31.55)
CIE-LCHlch(11.28, 42.20, 311.62°)
OKLaboklab(24.77% 0.0521 -0.0901)
OKLCHoklch(24.77% 0.104 300)
XYZxyz(2.3476, 1.3007, 6.6046)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E4A #2E4A0E
analogous
#0E104A #2A0E4A #480E4A
triadic
#2A0E4A #4A2A0E #0E4A2A
tetradic
#2A0E4A #4A0E10 #2E4A0E #0E4A48
square
#2A0E4A #4A0E10 #2E4A0E #0E4A48
split-complementary
#2A0E4A #4A480E #104A0E
monochromatic
#0F051A #0F051A #2A0E4A #47187D #6421B1

Accessibility & contrast

On white

16.66
#2A0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E4A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E4A#FFFFFF#000000##FFFFFF
##2A0E4A1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#231D2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0e4a;
/* rgb */ color: rgb(42, 14, 74);
/* oklch */ color: oklch(24.8% 0.104 300.0);
Tailwind
colors: {
  custom: {
    50: '#674f7d',
    500: '#2a0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e4a;
$custom-light: #674f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e4a",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 268,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24773,
    "c": 0.10403,
    "h": 300
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#2A0E4A
secondary
#5D852F
accent
#EB3D9A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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