#2A0D3E#2A0D3E

#2A0D3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.090 H 308.0°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2A0D3E
RGBrgb(42, 13, 62)
HSLhsl(276, 65%, 15%)
HSVhsv(276, 79%, 24%)
CMYKcmyk(32.3%, 79%, 0%, 75.7%)
CIE-LABlab(10.01, 25.17, -25.16)
CIE-LCHlch(10.01, 35.59, 315.01°)
OKLaboklab(23.54% 0.0557 -0.0713)
OKLCHoklch(23.54% 0.09 308)
XYZxyz(1.9681, 1.1279, 4.6705)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D3E #213E0D
analogous
#120D3E #2A0D3E #3E0D3A
triadic
#2A0D3E #3E2A0D #0D3E2A
tetradic
#2A0D3E #3E120D #213E0D #0D3A3E
square
#2A0D3E #3E120D #213E0D #0D3A3E
split-complementary
#2A0D3E #3A3E0D #0D3E12
monochromatic
#110519 #110519 #2A0D3E #4C1871 #6F22A3

Accessibility & contrast

On white

17.13
#2A0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A0D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0D3E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D3E#FFFFFF#000000##FFFFFF
##2A0D3E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#271824
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0d3e;
/* rgb */ color: rgb(42, 13, 62);
/* oklch */ color: oklch(23.5% 0.090 308.0);
Tailwind
colors: {
  custom: {
    50: '#664e74',
    500: '#2a0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d3e;
$custom-light: #664e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d3e",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 275.51,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23537,
    "c": 0.09046,
    "h": 308
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2A0D3E
secondary
#4C7A2D
accent
#E84084
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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