#2A0E50#2A0E50

#2A0E50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.112 H 296.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2A0E50
RGBrgb(42, 14, 80)
HSLhsl(265, 70%, 18%)
HSVhsv(265, 83%, 31%)
CMYKcmyk(47.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(11.86, 29.78, -34.74)
CIE-LCHlch(11.86, 45.76, 310.60°)
OKLaboklab(25.36% 0.0504 -0.0995)
OKLCHoklch(25.36% 0.112 296.9)
XYZxyz(2.5595, 1.3855, 7.7204)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E50 #34500E
analogous
#0E1350 #2A0E50 #4B0E50
triadic
#2A0E50 #502A0E #0E502A
tetradic
#2A0E50 #500E13 #34500E #0E504B
square
#2A0E50 #500E13 #34500E #0E504B
split-complementary
#2A0E50 #504B0E #13500E
monochromatic
#0E051A #0F051C #2A0E50 #451784 #6120B8

Accessibility & contrast

On white

16.44
#2A0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2A0E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E50
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E50#FFFFFF#000000##FFFFFF
##2A0E501.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#20202E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a0e50;
/* rgb */ color: rgb(42, 14, 80);
/* oklch */ color: oklch(25.4% 0.112 296.9);
Tailwind
colors: {
  custom: {
    50: '#685082',
    500: '#2a0e50',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e50;
$custom-light: #685082;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e50",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 265.455,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25361,
    "c": 0.11151,
    "h": 296.9
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#2A0E50
secondary
#648B2F
accent
#ED3BA1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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