#2A0E4B#2A0E4B

#2A0E4B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.105 H 299.5°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2A0E4B
RGBrgb(42, 14, 75)
HSLhsl(268, 69%, 17%)
HSVhsv(268, 81%, 29%)
CMYKcmyk(44%, 81.3%, 0%, 70.6%)
CIE-LABlab(11.38, 28.32, -32.09)
CIE-LCHlch(11.38, 42.79, 311.43°)
OKLaboklab(24.87% 0.0518 -0.0917)
OKLCHoklch(24.87% 0.105 299.5)
XYZxyz(2.3816, 1.3143, 6.7835)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E4B #2F4B0E
analogous
#0E114B #2A0E4B #480E4B
triadic
#2A0E4B #4B2A0E #0E4B2A
tetradic
#2A0E4B #4B0E11 #2F4B0E #0E4B48
square
#2A0E4B #4B0E11 #2F4B0E #0E4B48
split-complementary
#2A0E4B #4B480E #114B0E
monochromatic
#0E051A #0E051A #2A0E4B #47187F #6421B2

Accessibility & contrast

On white

16.63
#2A0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0E4B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E4B#FFFFFF#000000##FFFFFF
##2A0E4B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#221E2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0e4b;
/* rgb */ color: rgb(42, 14, 75);
/* oklch */ color: oklch(24.9% 0.105 299.5);
Tailwind
colors: {
  custom: {
    50: '#674f7e',
    500: '#2a0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e4b;
$custom-light: #674f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e4b",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 267.541,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24869,
    "c": 0.10528,
    "h": 299.5
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2A0E4B
secondary
#5E862F
accent
#EB3C9B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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