#2A0E39#2A0E39

#2A0E39 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.083 H 311.6°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2A0E39
RGBrgb(42, 14, 57)
HSLhsl(279, 61%, 14%)
HSVhsv(279, 75%, 22%)
CMYKcmyk(26.3%, 75.4%, 0%, 77.6%)
CIE-LABlab(9.81, 23.25, -21.90)
CIE-LCHlch(9.81, 31.94, 316.71°)
OKLaboklab(23.26% 0.0549 -0.0617)
OKLCHoklch(23.26% 0.083 311.6)
XYZxyz(1.8503, 1.1018, 3.9853)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E39 #1D390E
analogous
#150E39 #2A0E39 #390E33
triadic
#2A0E39 #392A0E #0E392A
tetradic
#2A0E39 #39150E #1D390E #0E3339
square
#2A0E39 #39150E #1D390E #0E3339
split-complementary
#2A0E39 #33390E #0E3915
monochromatic
#120619 #120619 #2A0E39 #4E1A6A #72269B

Accessibility & contrast

On white

17.21
#2A0E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A0E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E39
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E39#FFFFFF#000000##FFFFFF
##2A0E391.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#281721
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0e39;
/* rgb */ color: rgb(42, 14, 57);
/* oklch */ color: oklch(23.3% 0.083 311.6);
Tailwind
colors: {
  custom: {
    50: '#654e70',
    500: '#2a0e39',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e39;
$custom-light: #654e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e39",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 279.07,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23262,
    "c": 0.08258,
    "h": 311.6
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#2A0E39
secondary
#47742F
accent
#E4447C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A0E39

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

Preview Lab → · Contrast checker → · Palette generator →

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