#2D0B45#2D0B45

#2D0B45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.103 H 306.9°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2D0B45
RGBrgb(45, 11, 69)
HSLhsl(275, 73%, 16%)
HSVhsv(275, 84%, 27%)
CMYKcmyk(34.8%, 84.1%, 0%, 72.9%)
CIE-LABlab(10.75, 28.79, -28.89)
CIE-LCHlch(10.75, 40.79, 314.90°)
OKLaboklab(24.36% 0.0616 -0.0821)
OKLCHoklch(24.36% 0.103 306.9)
XYZxyz(2.2758, 1.2269, 5.7460)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B45 #23450B
analogous
#100B45 #2D0B45 #450B40
triadic
#2D0B45 #452D0B #0B452D
tetradic
#2D0B45 #45100B #23450B #0B4045
square
#2D0B45 #45100B #23450B #0B4045
split-complementary
#2D0B45 #40450B #0B4510
monochromatic
#11041A #11041A #2D0B45 #4F137A #721CAF

Accessibility & contrast

On white

16.86
#2D0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B45
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B45#FFFFFF#000000##FFFFFF
##2D0B451.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0b45;
/* rgb */ color: rgb(45, 11, 69);
/* oklch */ color: oklch(24.4% 0.103 306.9);
Tailwind
colors: {
  custom: {
    50: '#694e79',
    500: '#2d0b45',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b45;
$custom-light: #694e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b45",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 275.172,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24358,
    "c": 0.10262,
    "h": 306.9
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#2D0B45
secondary
#4E812A
accent
#EF3984
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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