#2B0D4B#2B0D4B

#2B0D4B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.107 H 300.7°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2B0D4B
RGBrgb(43, 13, 75)
HSLhsl(269, 70%, 17%)
HSVhsv(269, 83%, 29%)
CMYKcmyk(42.7%, 82.7%, 0%, 70.6%)
CIE-LABlab(11.34, 29.04, -32.14)
CIE-LCHlch(11.34, 43.31, 312.10°)
OKLaboklab(24.88% 0.0546 -0.0917)
OKLCHoklch(24.88% 0.107 300.7)
XYZxyz(2.4099, 1.3094, 6.7810)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D4B #2D4B0D
analogous
#0D0E4B #2B0D4B #4A0D4B
triadic
#2B0D4B #4B2B0D #0D4B2B
tetradic
#2B0D4B #4B0D0E #2D4B0D #0D4B4A
square
#2B0D4B #4B0D0E #2D4B0D #0D4B4A
split-complementary
#2B0D4B #4B4A0D #0E4B0D
monochromatic
#0F051A #0F051A #2B0D4B #49167F #671FB3

Accessibility & contrast

On white

16.64
#2B0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B0D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0D4B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D4B#FFFFFF#000000##FFFFFF
##2B0D4B1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#241D2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0d4b;
/* rgb */ color: rgb(43, 13, 75);
/* oklch */ color: oklch(24.9% 0.107 300.7);
Tailwind
colors: {
  custom: {
    50: '#684f7e',
    500: '#2b0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d4b;
$custom-light: #684f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d4b",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 269.032,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24878,
    "c": 0.10674,
    "h": 300.7
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#2B0D4B
secondary
#5B862E
accent
#ED3B97
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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