#2D0B44#2D0B44

#2D0B44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.101 H 307.5°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#2D0B44
RGBrgb(45, 11, 68)
HSLhsl(276, 72%, 15%)
HSVhsv(276, 84%, 27%)
CMYKcmyk(33.8%, 83.8%, 0%, 73.3%)
CIE-LABlab(10.66, 28.53, -28.33)
CIE-LCHlch(10.66, 40.20, 315.19°)
OKLaboklab(24.27% 0.0618 -0.0805)
OKLCHoklch(24.27% 0.101 307.5)
XYZxyz(2.2450, 1.2146, 5.5839)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B44 #22440B
analogous
#100B44 #2D0B44 #440B3E
triadic
#2D0B44 #442D0B #0B442D
tetradic
#2D0B44 #44100B #22440B #0B3E44
square
#2D0B44 #44100B #22440B #0B3E44
split-complementary
#2D0B44 #3E440B #0B4410
monochromatic
#11041A #11041A #2D0B44 #501479 #731CAD

Accessibility & contrast

On white

16.89
#2D0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B44
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B44#FFFFFF#000000##FFFFFF
##2D0B441.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#291927
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0b44;
/* rgb */ color: rgb(45, 11, 68);
/* oklch */ color: oklch(24.3% 0.101 307.5);
Tailwind
colors: {
  custom: {
    50: '#694e78',
    500: '#2d0b44',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b44;
$custom-light: #694e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b44",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 275.789,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24267,
    "c": 0.10147,
    "h": 307.5
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#2D0B44
secondary
#4D812A
accent
#EF3982
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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