#2A0E54#2A0E54

#2A0E54 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.8% C 0.116 H 295.0°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#2A0E54
RGBrgb(42, 14, 84)
HSLhsl(264, 71%, 19%)
HSVhsv(264, 83%, 33%)
CMYKcmyk(50%, 83.3%, 0%, 67.1%)
CIE-LABlab(12.26, 30.96, -36.82)
CIE-LCHlch(12.26, 48.11, 310.06°)
OKLaboklab(25.77% 0.0492 -0.1056)
OKLCHoklch(25.77% 0.116 295)
XYZxyz(2.7117, 1.4463, 8.5221)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E54 #38540E
analogous
#0E1554 #2A0E54 #4D0E54
triadic
#2A0E54 #542A0E #0E542A
tetradic
#2A0E54 #540E15 #38540E #0E544D
square
#2A0E54 #540E15 #38540E #0E544D
split-complementary
#2A0E54 #544D0E #15540E
monochromatic
#0D041A #100520 #2A0E54 #441788 #5E1FBD

Accessibility & contrast

On white

16.29
#2A0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2A0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E54
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E54#FFFFFF#000000##FFFFFF
##2A0E541.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#1E2130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a0e54;
/* rgb */ color: rgb(42, 14, 84);
/* oklch */ color: oklch(25.8% 0.116 295.0);
Tailwind
colors: {
  custom: {
    50: '#695085',
    500: '#2a0e54',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e54;
$custom-light: #695085;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e54",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25766,
    "c": 0.11646,
    "h": 295
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#2A0E54
secondary
#688E2F
accent
#EE3AA6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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