#2B0B47#2B0B47

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

Color values

HEX#2B0B47
RGBrgb(43, 11, 71)
HSLhsl(272, 73%, 16%)
HSVhsv(272, 85%, 28%)
CMYKcmyk(39.4%, 84.5%, 0%, 72.2%)
CIE-LABlab(10.62, 28.91, -30.53)
CIE-LCHlch(10.62, 42.05, 313.43°)
OKLaboklab(24.25% 0.0577 -0.087)
OKLCHoklch(24.25% 0.104 303.6)
XYZxyz(2.2530, 1.2079, 6.0745)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B47 #27470B
analogous
#0D0B47 #2B0B47 #470B45
triadic
#2B0B47 #472B0B #0B472B
tetradic
#2B0B47 #470D0B #27470B #0B4547
square
#2B0B47 #470D0B #27470B #0B4547
split-complementary
#2B0B47 #45470B #0B470D
monochromatic
#10041A #10041A #2B0B47 #4B137C #6B1BB1

Accessibility & contrast

On white

16.91
#2B0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B47
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B47#FFFFFF#000000##FFFFFF
##2B0B471.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0b47;
/* rgb */ color: rgb(43, 11, 71);
/* oklch */ color: oklch(24.2% 0.104 303.6);
Tailwind
colors: {
  custom: {
    50: '#684e7b',
    500: '#2b0b47',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b47;
$custom-light: #684e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b47",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 272,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24249,
    "c": 0.10444,
    "h": 303.6
  },
  "luminance": 0.01208
}

Semantic roles & 50–950 ramp

primary
#2B0B47
secondary
#54832A
accent
#F0388E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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