#2A0E4D#2A0E4D

#2A0E4D is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.108 H 298.4°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2A0E4D
RGBrgb(42, 14, 77)
HSLhsl(267, 69%, 18%)
HSVhsv(267, 82%, 30%)
CMYKcmyk(45.5%, 81.8%, 0%, 69.8%)
CIE-LABlab(11.57, 28.90, -33.16)
CIE-LCHlch(11.57, 43.98, 311.07°)
OKLaboklab(25.06% 0.0513 -0.0948)
OKLCHoklch(25.06% 0.108 298.4)
XYZxyz(2.4511, 1.3421, 7.1497)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E4D #314D0E
analogous
#0E114D #2A0E4D #490E4D
triadic
#2A0E4D #4D2A0E #0E4D2A
tetradic
#2A0E4D #4D0E11 #314D0E #0E4D49
square
#2A0E4D #4D0E11 #314D0E #0E4D49
split-complementary
#2A0E4D #4D490E #114D0E
monochromatic
#0E051A #0E051A #2A0E4D #461781 #6221B5

Accessibility & contrast

On white

16.56
#2A0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2A0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E4D
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E4D#FFFFFF#000000##FFFFFF
##2A0E4D1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#211E2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a0e4d;
/* rgb */ color: rgb(42, 14, 77);
/* oklch */ color: oklch(25.1% 0.108 298.4);
Tailwind
colors: {
  custom: {
    50: '#68507f',
    500: '#2a0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e4d;
$custom-light: #68507f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e4d",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 266.667,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25064,
    "c": 0.10778,
    "h": 298.4
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#2A0E4D
secondary
#60882F
accent
#EC3C9E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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