#2A0E49#2A0E49

#2A0E49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.103 H 300.6°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2A0E49
RGBrgb(42, 14, 73)
HSLhsl(268, 68%, 17%)
HSVhsv(268, 81%, 29%)
CMYKcmyk(42.5%, 80.8%, 0%, 71.4%)
CIE-LABlab(11.19, 27.74, -31.01)
CIE-LCHlch(11.19, 41.60, 311.81°)
OKLaboklab(24.68% 0.0523 -0.0885)
OKLCHoklch(24.68% 0.103 300.6)
XYZxyz(2.3142, 1.2873, 6.4286)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E49 #2D490E
analogous
#0E0F49 #2A0E49 #480E49
triadic
#2A0E49 #492A0E #0E492A
tetradic
#2A0E49 #490E0F #2D490E #0E4948
square
#2A0E49 #490E0F #2D490E #0E4948
split-complementary
#2A0E49 #49480E #0F490E
monochromatic
#0F051A #0F051A #2A0E49 #48187C #6522B0

Accessibility & contrast

On white

16.70
#2A0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A0E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E49
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E49#FFFFFF#000000##FFFFFF
##2A0E491.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#231D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0e49;
/* rgb */ color: rgb(42, 14, 73);
/* oklch */ color: oklch(24.7% 0.103 300.6);
Tailwind
colors: {
  custom: {
    50: '#674f7c',
    500: '#2a0e49',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e49;
$custom-light: #674f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e49",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 268.475,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24677,
    "c": 0.10278,
    "h": 300.6
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#2A0E49
secondary
#5C842F
accent
#EB3D98
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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