#2A0D4B#2A0D4B

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

Color values

HEX#2A0D4B
RGBrgb(42, 13, 75)
HSLhsl(268, 70%, 17%)
HSVhsv(268, 83%, 29%)
CMYKcmyk(44%, 82.7%, 0%, 70.6%)
CIE-LABlab(11.19, 28.83, -32.39)
CIE-LCHlch(11.19, 43.36, 311.68°)
OKLaboklab(24.74% 0.0529 -0.0925)
OKLCHoklch(24.74% 0.107 299.7)
XYZxyz(2.3684, 1.2881, 6.7791)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D4B #2E4B0D
analogous
#0D0F4B #2A0D4B #490D4B
triadic
#2A0D4B #4B2A0D #0D4B2A
tetradic
#2A0D4B #4B0D0F #2E4B0D #0D4B49
square
#2A0D4B #4B0D0F #2E4B0D #0D4B49
split-complementary
#2A0D4B #4B490D #0F4B0D
monochromatic
#0F051A #0F051A #2A0D4B #47167F #641FB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A0D4B#FFFFFF#000000##FFFFFF
##2A0D4B1.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)
#001E4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#221D2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a0d4b;
/* rgb */ color: rgb(42, 13, 75);
/* oklch */ color: oklch(24.7% 0.107 299.7);
Tailwind
colors: {
  custom: {
    50: '#684f7e',
    500: '#2a0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d4b;
$custom-light: #684f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d4b",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 268.065,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2474,
    "c": 0.10656,
    "h": 299.7
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#2A0D4B
secondary
#5D862E
accent
#ED3B9A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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