#2A0E45#2A0E45

#2A0E45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.098 H 303.0°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#2A0E45
RGBrgb(42, 14, 69)
HSLhsl(271, 66%, 16%)
HSVhsv(271, 80%, 27%)
CMYKcmyk(39.1%, 79.7%, 0%, 72.9%)
CIE-LABlab(10.82, 26.58, -28.80)
CIE-LCHlch(10.82, 39.20, 312.70°)
OKLaboklab(24.3% 0.0532 -0.082)
OKLCHoklch(24.3% 0.098 303)
XYZxyz(2.1858, 1.2360, 5.7525)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E45 #29450E
analogous
#0F0E45 #2A0E45 #450E45
triadic
#2A0E45 #452A0E #0E452A
tetradic
#2A0E45 #450F0E #29450E #0E4545
square
#2A0E45 #450F0E #29450E #0E4545
split-complementary
#2A0E45 #45450E #0E450F
monochromatic
#0F0519 #0F0519 #2A0E45 #491878 #6823AB

Accessibility & contrast

On white

16.84
#2A0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0E45
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E45#FFFFFF#000000##FFFFFF
##2A0E451.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#251B28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a0e45;
/* rgb */ color: rgb(42, 14, 69);
/* oklch */ color: oklch(24.3% 0.098 303.0);
Tailwind
colors: {
  custom: {
    50: '#674f79',
    500: '#2a0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e45;
$custom-light: #674f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e45",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 270.545,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24303,
    "c": 0.09775,
    "h": 303
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#2A0E45
secondary
#57802F
accent
#E93F92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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