#2A0B43#2A0B43

#2A0B43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 305.1°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2A0B43
RGBrgb(42, 11, 67)
HSLhsl(273, 72%, 15%)
HSVhsv(273, 84%, 26%)
CMYKcmyk(37.3%, 83.6%, 0%, 73.7%)
CIE-LABlab(10.08, 27.60, -28.59)
CIE-LCHlch(10.08, 39.74, 313.98°)
OKLaboklab(23.72% 0.0571 -0.0814)
OKLCHoklch(23.72% 0.099 305.1)
XYZxyz(2.0874, 1.1368, 5.4186)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B43 #24430B
analogous
#0E0B43 #2A0B43 #430B40
triadic
#2A0B43 #432A0B #0B432A
tetradic
#2A0B43 #430E0B #24430B #0B4043
square
#2A0B43 #430E0B #24430B #0B4043
split-complementary
#2A0B43 #40430B #0B430E
monochromatic
#10041A #10041A #2A0B43 #4B1478 #6C1CAC

Accessibility & contrast

On white

17.11
#2A0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B43
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B43#FFFFFF#000000##FFFFFF
##2A0B431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#251926
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a0b43;
/* rgb */ color: rgb(42, 11, 67);
/* oklch */ color: oklch(23.7% 0.099 305.1);
Tailwind
colors: {
  custom: {
    50: '#674d78',
    500: '#2a0b43',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b43;
$custom-light: #674d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b43",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 273.214,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23724,
    "c": 0.09941,
    "h": 305.1
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#2A0B43
secondary
#50802A
accent
#EF398A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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