#2B0D3C#2B0D3C

#2B0D3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.088 H 310.6°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0D3C
RGBrgb(43, 13, 60)
HSLhsl(278, 64%, 14%)
HSVhsv(278, 78%, 24%)
CMYKcmyk(28.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(10.01, 24.88, -23.72)
CIE-LCHlch(10.01, 34.38, 316.37°)
OKLaboklab(23.52% 0.0576 -0.067)
OKLCHoklch(23.52% 0.088 310.6)
XYZxyz(1.9556, 1.1277, 4.3887)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D3C #1E3C0D
analogous
#140D3C #2B0D3C #3C0D36
triadic
#2B0D3C #3C2B0D #0D3C2B
tetradic
#2B0D3C #3C140D #1E3C0D #0D363C
square
#2B0D3C #3C140D #1E3C0D #0D363C
split-complementary
#2B0D3C #363C0D #0D3C14
monochromatic
#120519 #120519 #2B0D3C #4F186E #7323A1

Accessibility & contrast

On white

17.13
#2B0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B0D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D3C
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D3C#FFFFFF#000000##FFFFFF
##2B0D3C1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#071C3B
Tritanopia (blue-blind)
#291723
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0d3c;
/* rgb */ color: rgb(43, 13, 60);
/* oklch */ color: oklch(23.5% 0.088 310.6);
Tailwind
colors: {
  custom: {
    50: '#664e72',
    500: '#2b0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d3c;
$custom-light: #664e72;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d3c",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 278.298,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23518,
    "c": 0.08835,
    "h": 310.6
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2B0D3C
secondary
#48782D
accent
#E7407D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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