#2D0B49#2D0B49

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

Color values

HEX#2D0B49
RGBrgb(45, 11, 73)
HSLhsl(273, 74%, 16%)
HSVhsv(273, 85%, 29%)
CMYKcmyk(38.4%, 84.9%, 0%, 71.4%)
CIE-LABlab(11.12, 29.86, -31.09)
CIE-LCHlch(11.12, 43.11, 313.85°)
OKLaboklab(24.73% 0.0605 -0.0886)
OKLCHoklch(24.73% 0.107 304.3)
XYZxyz(2.4042, 1.2783, 6.4221)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B49 #27490B
analogous
#0E0B49 #2D0B49 #490B46
triadic
#2D0B49 #492D0B #0B492D
tetradic
#2D0B49 #490E0B #27490B #0B4649
square
#2D0B49 #490E0B #27490B #0B4649
split-complementary
#2D0B49 #46490B #0B490E
monochromatic
#10041B #10041B #2D0B49 #4E137E #6F1BB3

Accessibility & contrast

On white

16.73
#2D0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B49
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B49#FFFFFF#000000##FFFFFF
##2D0B491.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#281B2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0b49;
/* rgb */ color: rgb(45, 11, 73);
/* oklch */ color: oklch(24.7% 0.107 304.3);
Tailwind
colors: {
  custom: {
    50: '#6a4e7c',
    500: '#2d0b49',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b49;
$custom-light: #6a4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b49",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 272.903,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24732,
    "c": 0.10728,
    "h": 304.3
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#2D0B49
secondary
#54852A
accent
#F0378B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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