#2D0B47#2D0B47

#2D0B47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.105 H 305.6°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2D0B47
RGBrgb(45, 11, 71)
HSLhsl(274, 73%, 16%)
HSVhsv(274, 85%, 28%)
CMYKcmyk(36.6%, 84.5%, 0%, 72.2%)
CIE-LABlab(10.94, 29.32, -29.99)
CIE-LCHlch(10.94, 41.95, 314.35°)
OKLaboklab(24.54% 0.0611 -0.0854)
OKLCHoklch(24.54% 0.105 305.6)
XYZxyz(2.3389, 1.2522, 6.0785)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B47 #25470B
analogous
#0F0B47 #2D0B47 #470B43
triadic
#2D0B47 #472D0B #0B472D
tetradic
#2D0B47 #470F0B #25470B #0B4347
square
#2D0B47 #470F0B #25470B #0B4347
split-complementary
#2D0B47 #43470B #0B470F
monochromatic
#11041A #11041A #2D0B47 #4F137C #701BB1

Accessibility & contrast

On white

16.79
#2D0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0B47
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B47#FFFFFF#000000##FFFFFF
##2D0B471.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#281A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0b47;
/* rgb */ color: rgb(45, 11, 71);
/* oklch */ color: oklch(24.5% 0.105 305.6);
Tailwind
colors: {
  custom: {
    50: '#694e7b',
    500: '#2d0b47',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b47;
$custom-light: #694e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b47",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 274,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24544,
    "c": 0.10495,
    "h": 305.6
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#2D0B47
secondary
#51832A
accent
#F03888
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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