#2D0B4A#2D0B4A

#2D0B4A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.108 H 303.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2D0B4A
RGBrgb(45, 11, 74)
HSLhsl(272, 74%, 17%)
HSVhsv(272, 85%, 29%)
CMYKcmyk(39.2%, 85.1%, 0%, 71%)
CIE-LABlab(11.22, 30.14, -31.63)
CIE-LCHlch(11.22, 43.69, 313.61°)
OKLaboklab(24.83% 0.0602 -0.0902)
OKLCHoklch(24.83% 0.108 303.7)
XYZxyz(2.4376, 1.2916, 6.5981)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B4A #284A0B
analogous
#0E0B4A #2D0B4A #4A0B48
triadic
#2D0B4A #4A2D0B #0B4A2D
tetradic
#2D0B4A #4A0E0B #284A0B #0B484A
square
#2D0B4A #4A0E0B #284A0B #0B484A
split-complementary
#2D0B4A #484A0B #0B4A0E
monochromatic
#10041B #10041B #2D0B4A #4D137F #6E1BB5

Accessibility & contrast

On white

16.69
#2D0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B4A
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B4A#FFFFFF#000000##FFFFFF
##2D0B4A1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#271B2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0b4a;
/* rgb */ color: rgb(45, 11, 74);
/* oklch */ color: oklch(24.8% 0.108 303.7);
Tailwind
colors: {
  custom: {
    50: '#6a4e7d',
    500: '#2d0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b4a;
$custom-light: #6a4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b4a",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 272.381,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24828,
    "c": 0.10844,
    "h": 303.7
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#2D0B4A
secondary
#55862B
accent
#F1378D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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