#2B0B45#2B0B45

#2B0B45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.102 H 304.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2B0B45
RGBrgb(43, 11, 69)
HSLhsl(273, 73%, 16%)
HSVhsv(273, 84%, 27%)
CMYKcmyk(37.7%, 84.1%, 0%, 72.9%)
CIE-LABlab(10.43, 28.36, -29.43)
CIE-LCHlch(10.43, 40.87, 313.94°)
OKLaboklab(24.06% 0.0583 -0.0838)
OKLCHoklch(24.06% 0.102 304.8)
XYZxyz(2.1899, 1.1826, 5.7420)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B45 #25450B
analogous
#0E0B45 #2B0B45 #450B42
triadic
#2B0B45 #452B0B #0B452B
tetradic
#2B0B45 #450E0B #25450B #0B4245
square
#2B0B45 #450E0B #25450B #0B4245
split-complementary
#2B0B45 #42450B #0B450E
monochromatic
#10041A #10041A #2B0B45 #4C137A #6D1CAF

Accessibility & contrast

On white

16.98
#2B0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B45
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B45#FFFFFF#000000##FFFFFF
##2B0B451.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001C44
Tritanopia (blue-blind)
#261927
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0b45;
/* rgb */ color: rgb(43, 11, 69);
/* oklch */ color: oklch(24.1% 0.102 304.8);
Tailwind
colors: {
  custom: {
    50: '#684e79',
    500: '#2b0b45',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b45;
$custom-light: #684e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b45",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 273.103,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24059,
    "c": 0.10206,
    "h": 304.8
  },
  "luminance": 0.01183
}

Semantic roles & 50–950 ramp

primary
#2B0B45
secondary
#51812A
accent
#EF398A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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