#2B0B46#2B0B46

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

Color values

HEX#2B0B46
RGBrgb(43, 11, 70)
HSLhsl(273, 73%, 16%)
HSVhsv(273, 84%, 27%)
CMYKcmyk(38.6%, 84.3%, 0%, 72.5%)
CIE-LABlab(10.52, 28.64, -29.99)
CIE-LCHlch(10.52, 41.46, 313.68°)
OKLaboklab(24.15% 0.058 -0.0854)
OKLCHoklch(24.15% 0.103 304.2)
XYZxyz(2.2212, 1.1951, 5.9068)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B46 #26460B
analogous
#0D0B46 #2B0B46 #460B43
triadic
#2B0B46 #462B0B #0B462B
tetradic
#2B0B46 #460D0B #26460B #0B4346
square
#2B0B46 #460D0B #26460B #0B4346
split-complementary
#2B0B46 #43460B #0B460D
monochromatic
#10041A #10041A #2B0B46 #4B137B #6C1CB0

Accessibility & contrast

On white

16.95
#2B0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B46
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B46#FFFFFF#000000##FFFFFF
##2B0B461.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0b46;
/* rgb */ color: rgb(43, 11, 70);
/* oklch */ color: oklch(24.2% 0.103 304.2);
Tailwind
colors: {
  custom: {
    50: '#684e7a',
    500: '#2b0b46',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b46;
$custom-light: #684e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b46",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 272.542,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24154,
    "c": 0.10325,
    "h": 304.2
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#2B0B46
secondary
#53822A
accent
#F0388C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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