#2A0E55#2A0E55

#2A0E55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.118 H 294.5°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#2A0E55
RGBrgb(42, 14, 85)
HSLhsl(264, 72%, 19%)
HSVhsv(264, 84%, 33%)
CMYKcmyk(50.6%, 83.5%, 0%, 66.7%)
CIE-LABlab(12.37, 31.25, -37.34)
CIE-LCHlch(12.37, 48.69, 309.93°)
OKLaboklab(25.87% 0.0489 -0.1071)
OKLCHoklch(25.87% 0.118 294.5)
XYZxyz(2.7511, 1.4621, 8.7298)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E55 #39550E
analogous
#0E1655 #2A0E55 #4E0E55
triadic
#2A0E55 #552A0E #0E552A
tetradic
#2A0E55 #550E16 #39550E #0E554E
square
#2A0E55 #550E16 #39550E #0E554E
split-complementary
#2A0E55 #554E0E #16550E
monochromatic
#0D041A #100520 #2A0E55 #44178A #5E1FBE

Accessibility & contrast

On white

16.25
#2A0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0E55
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E55#FFFFFF#000000##FFFFFF
##2A0E551.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#1D2231
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a0e55;
/* rgb */ color: rgb(42, 14, 85);
/* oklch */ color: oklch(25.9% 0.118 294.5);
Tailwind
colors: {
  custom: {
    50: '#695086',
    500: '#2a0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e55;
$custom-light: #695086;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e55",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 263.662,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.11769,
    "h": 294.5
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#2A0E55
secondary
#6A8F30
accent
#EE39A7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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