#2A0E4C#2A0E4C

#2A0E4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.107 H 298.9°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2A0E4C
RGBrgb(42, 14, 76)
HSLhsl(267, 69%, 18%)
HSVhsv(267, 82%, 30%)
CMYKcmyk(44.7%, 81.6%, 0%, 70.2%)
CIE-LABlab(11.47, 28.61, -32.62)
CIE-LCHlch(11.47, 43.39, 311.25°)
OKLaboklab(24.97% 0.0515 -0.0932)
OKLCHoklch(24.97% 0.107 298.9)
XYZxyz(2.4161, 1.3281, 6.9651)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E4C #304C0E
analogous
#0E114C #2A0E4C #490E4C
triadic
#2A0E4C #4C2A0E #0E4C2A
tetradic
#2A0E4C #4C0E11 #304C0E #0E4C49
square
#2A0E4C #4C0E11 #304C0E #0E4C49
split-complementary
#2A0E4C #4C490E #114C0E
monochromatic
#0E051A #0E051A #2A0E4C #471880 #6321B3

Accessibility & contrast

On white

16.59
#2A0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2A0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E4C
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E4C#FFFFFF#000000##FFFFFF
##2A0E4C1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#221E2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0e4c;
/* rgb */ color: rgb(42, 14, 76);
/* oklch */ color: oklch(25.0% 0.107 298.9);
Tailwind
colors: {
  custom: {
    50: '#684f7f',
    500: '#2a0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e4c;
$custom-light: #684f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e4c",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 267.097,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24966,
    "c": 0.10653,
    "h": 298.9
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#2A0E4C
secondary
#5F872F
accent
#EC3C9C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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