#2A0E5D#2A0E5D

#2A0E5D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.127 H 291.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#2A0E5D
RGBrgb(42, 14, 93)
HSLhsl(261, 74%, 21%)
HSVhsv(261, 85%, 36%)
CMYKcmyk(54.8%, 84.9%, 0%, 63.5%)
CIE-LABlab(13.21, 33.63, -41.35)
CIE-LCHlch(13.21, 53.30, 309.12°)
OKLaboklab(26.71% 0.0461 -0.1188)
OKLCHoklch(26.71% 0.127 291.2)
XYZxyz(3.0871, 1.5965, 10.4993)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E5D #415D0E
analogous
#0E195D #2A0E5D #510E5D
triadic
#2A0E5D #5D2A0E #0E5D2A
tetradic
#2A0E5D #5D0E19 #415D0E #0E5D51
square
#2A0E5D #5D0E19 #415D0E #0E5D51
split-complementary
#2A0E5D #5D510E #195D0E
monochromatic
#0C041B #120628 #2A0E5D #421692 #5A1EC7

Accessibility & contrast

On white

15.92
#2A0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2A0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E5D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E5D#FFFFFF#000000##FFFFFF
##2A0E5D1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#182536
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a0e5d;
/* rgb */ color: rgb(42, 14, 93);
/* oklch */ color: oklch(26.7% 0.127 291.2);
Tailwind
colors: {
  custom: {
    50: '#6a518c',
    500: '#2a0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e5d;
$custom-light: #6a518c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e5d",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 261.266,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26714,
    "c": 0.12747,
    "h": 291.2
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#2A0E5D
secondary
#729730
accent
#F037AF
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2A0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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