#2D0B46#2D0B46

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

Color values

HEX#2D0B46
RGBrgb(45, 11, 70)
HSLhsl(275, 73%, 16%)
HSVhsv(275, 84%, 27%)
CMYKcmyk(35.7%, 84.3%, 0%, 72.5%)
CIE-LABlab(10.85, 29.06, -29.44)
CIE-LCHlch(10.85, 41.37, 314.62°)
OKLaboklab(24.45% 0.0613 -0.0837)
OKLCHoklch(24.45% 0.104 306.2)
XYZxyz(2.3071, 1.2395, 5.9109)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B46 #24460B
analogous
#0F0B46 #2D0B46 #460B41
triadic
#2D0B46 #462D0B #0B462D
tetradic
#2D0B46 #460F0B #24460B #0B4146
square
#2D0B46 #460F0B #24460B #0B4146
split-complementary
#2D0B46 #41460B #0B460F
monochromatic
#11041A #11041A #2D0B46 #4F137B #711CB0

Accessibility & contrast

On white

16.83
#2D0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B46
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B46#FFFFFF#000000##FFFFFF
##2D0B461.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#291A28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0b46;
/* rgb */ color: rgb(45, 11, 70);
/* oklch */ color: oklch(24.4% 0.104 306.2);
Tailwind
colors: {
  custom: {
    50: '#694e7a',
    500: '#2d0b46',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b46;
$custom-light: #694e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b46",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 274.576,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2445,
    "c": 0.10378,
    "h": 306.2
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2D0B46
secondary
#50822A
accent
#F03886
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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