#2B0B3D#2B0B3D

#2B0B3D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.093 H 310.4°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2B0B3D
RGBrgb(43, 11, 61)
HSLhsl(278, 69%, 14%)
HSVhsv(278, 82%, 24%)
CMYKcmyk(29.5%, 82%, 0%, 76.1%)
CIE-LABlab(9.72, 26.21, -24.91)
CIE-LCHlch(9.72, 36.16, 316.45°)
OKLaboklab(23.33% 0.06 -0.0705)
OKLCHoklch(23.33% 0.093 310.4)
XYZxyz(1.9581, 1.0899, 4.5212)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B3D #1D3D0B
analogous
#120B3D #2B0B3D #3D0B36
triadic
#2B0B3D #3D2B0B #0B3D2B
tetradic
#2B0B3D #3D120B #1D3D0B #0B363D
square
#2B0B3D #3D120B #1D3D0B #0B363D
split-complementary
#2B0B3D #363D0B #0B3D12
monochromatic
#12051A #12051A #2B0B3D #501471 #741EA5

Accessibility & contrast

On white

17.24
#2B0B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0B3D
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B3D#FFFFFF#000000##FFFFFF
##2B0B3D1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#041B3C
Tritanopia (blue-blind)
#291623
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0b3d;
/* rgb */ color: rgb(43, 11, 61);
/* oklch */ color: oklch(23.3% 0.093 310.4);
Tailwind
colors: {
  custom: {
    50: '#674d73',
    500: '#2b0b3d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b3d;
$custom-light: #674d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b3d",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 278.4,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23334,
    "c": 0.09256,
    "h": 310.4
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2B0B3D
secondary
#477A2A
accent
#EC3C7B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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