#2A0D3C#2A0D3C

#2A0D3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.088 H 309.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2A0D3C
RGBrgb(42, 13, 60)
HSLhsl(277, 64%, 14%)
HSVhsv(277, 78%, 24%)
CMYKcmyk(30%, 78.3%, 0%, 76.5%)
CIE-LABlab(9.85, 24.62, -24.00)
CIE-LCHlch(9.85, 34.38, 315.74°)
OKLaboklab(23.36% 0.056 -0.0679)
OKLCHoklch(23.36% 0.088 309.5)
XYZxyz(1.9142, 1.1064, 4.3868)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D3C #1F3C0D
analogous
#130D3C #2A0D3C #3C0D37
triadic
#2A0D3C #3C2A0D #0D3C2A
tetradic
#2A0D3C #3C130D #1F3C0D #0D373C
square
#2A0D3C #3C130D #1F3C0D #0D373C
split-complementary
#2A0D3C #373C0D #0D3C13
monochromatic
#120519 #120519 #2A0D3C #4D186E #7023A1

Accessibility & contrast

On white

17.20
#2A0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0D3C
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D3C#FFFFFF#000000##FFFFFF
##2A0D3C1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#051C3B
Tritanopia (blue-blind)
#271723
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0d3c;
/* rgb */ color: rgb(42, 13, 60);
/* oklch */ color: oklch(23.4% 0.088 309.5);
Tailwind
colors: {
  custom: {
    50: '#664e72',
    500: '#2a0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d3c;
$custom-light: #664e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d3c",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 277.021,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23364,
    "c": 0.08797,
    "h": 309.5
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#2A0D3C
secondary
#4A782D
accent
#E74080
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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