#2A0E48#2A0E48

#2A0E48 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.102 H 301.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#2A0E48
RGBrgb(42, 14, 72)
HSLhsl(269, 67%, 17%)
HSVhsv(269, 81%, 28%)
CMYKcmyk(41.7%, 80.6%, 0%, 71.8%)
CIE-LABlab(11.09, 27.44, -30.46)
CIE-LCHlch(11.09, 41.00, 312.02°)
OKLaboklab(24.58% 0.0525 -0.0869)
OKLCHoklch(24.58% 0.102 301.2)
XYZxyz(2.2813, 1.2742, 6.2554)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E48 #2C480E
analogous
#0E0F48 #2A0E48 #470E48
triadic
#2A0E48 #482A0E #0E482A
tetradic
#2A0E48 #480E0F #2C480E #0E4847
square
#2A0E48 #480E0F #2C480E #0E4847
split-complementary
#2A0E48 #48470E #0F480E
monochromatic
#0F051A #0F051A #2A0E48 #48187B #6622AE

Accessibility & contrast

On white

16.74
#2A0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E48
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E48#FFFFFF#000000##FFFFFF
##2A0E481.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#231C2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0e48;
/* rgb */ color: rgb(42, 14, 72);
/* oklch */ color: oklch(24.6% 0.102 301.2);
Tailwind
colors: {
  custom: {
    50: '#674f7b',
    500: '#2a0e48',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e48;
$custom-light: #674f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e48",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 268.966,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24582,
    "c": 0.10152,
    "h": 301.2
  },
  "luminance": 0.01274
}

Semantic roles & 50–950 ramp

primary
#2A0E48
secondary
#5A832F
accent
#EA3D97
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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