#2B0B3E#2B0B3E

#2B0B3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 309.6°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2B0B3E
RGBrgb(43, 11, 62)
HSLhsl(278, 70%, 14%)
HSVhsv(278, 82%, 24%)
CMYKcmyk(30.6%, 82.3%, 0%, 75.7%)
CIE-LABlab(9.80, 26.47, -25.49)
CIE-LCHlch(9.80, 36.75, 316.08°)
OKLaboklab(23.42% 0.0598 -0.0722)
OKLCHoklch(23.42% 0.094 309.6)
XYZxyz(1.9853, 1.1008, 4.6644)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0B3E #1E3E0B
analogous
#120B3E #2B0B3E #3E0B38
triadic
#2B0B3E #3E2B0B #0B3E2B
tetradic
#2B0B3E #3E120B #1E3E0B #0B383E
square
#2B0B3E #3E120B #1E3E0B #0B383E
split-complementary
#2B0B3E #383E0B #0B3E12
monochromatic
#12051A #12051A #2B0B3E #4F1472 #731DA6

Accessibility & contrast

On white

17.21
#2B0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0B3E
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0B3E#FFFFFF#000000##FFFFFF
##2B0B3E1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#281723
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0b3e;
/* rgb */ color: rgb(43, 11, 62);
/* oklch */ color: oklch(23.4% 0.094 309.6);
Tailwind
colors: {
  custom: {
    50: '#674d74',
    500: '#2b0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #2b0b3e;
$custom-light: #674d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0b3e",
  "rgb": {
    "r": 43,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 277.647,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23422,
    "c": 0.09376,
    "h": 309.6
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#2B0B3E
secondary
#487B2A
accent
#ED3B7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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