#2D0B43#2D0B43

#2D0B43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.100 H 308.2°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#2D0B43
RGBrgb(45, 11, 67)
HSLhsl(276, 72%, 15%)
HSVhsv(276, 84%, 26%)
CMYKcmyk(32.8%, 83.6%, 0%, 73.7%)
CIE-LABlab(10.58, 28.26, -27.77)
CIE-LCHlch(10.58, 39.62, 315.50°)
OKLaboklab(24.18% 0.062 -0.0788)
OKLCHoklch(24.18% 0.1 308.2)
XYZxyz(2.2148, 1.2025, 5.4245)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B43 #21430B
analogous
#110B43 #2D0B43 #430B3D
triadic
#2D0B43 #432D0B #0B432D
tetradic
#2D0B43 #43110B #21430B #0B3D43
square
#2D0B43 #43110B #21430B #0B3D43
split-complementary
#2D0B43 #3D430B #0B4311
monochromatic
#12041A #12041A #2D0B43 #501478 #741CAC

Accessibility & contrast

On white

16.93
#2D0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B43
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B43#FFFFFF#000000##FFFFFF
##2D0B431.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#291826
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0b43;
/* rgb */ color: rgb(45, 11, 67);
/* oklch */ color: oklch(24.2% 0.100 308.2);
Tailwind
colors: {
  custom: {
    50: '#694e78',
    500: '#2d0b43',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b43;
$custom-light: #694e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b43",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 276.429,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24176,
    "c": 0.1003,
    "h": 308.2
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#2D0B43
secondary
#4C802A
accent
#EF3980
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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