#2B0E4A#2B0E4A

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

Color values

HEX#2B0E4A
RGBrgb(43, 14, 74)
HSLhsl(269, 68%, 17%)
HSVhsv(269, 81%, 29%)
CMYKcmyk(41.9%, 81.1%, 0%, 71%)
CIE-LABlab(11.43, 28.23, -31.30)
CIE-LCHlch(11.43, 42.15, 312.05°)
OKLaboklab(24.91% 0.0537 -0.0893)
OKLCHoklch(24.91% 0.104 301)
XYZxyz(2.3890, 1.3221, 6.6066)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E4A #2D4A0E
analogous
#0E0F4A #2B0E4A #490E4A
triadic
#2B0E4A #4A2B0E #0E4A2B
tetradic
#2B0E4A #4A0E0F #2D4A0E #0E4A49
square
#2B0E4A #4A0E0F #2D4A0E #0E4A49
split-complementary
#2B0E4A #4A490E #0F4A0E
monochromatic
#0F051A #0F051A #2B0E4A #49187D #6721B1

Accessibility & contrast

On white

16.61
#2B0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E4A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E4A#FFFFFF#000000##FFFFFF
##2B0E4A1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0e4a;
/* rgb */ color: rgb(43, 14, 74);
/* oklch */ color: oklch(24.9% 0.104 301.0);
Tailwind
colors: {
  custom: {
    50: '#684f7d',
    500: '#2b0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e4a;
$custom-light: #684f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e4a",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 269,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2491,
    "c": 0.10422,
    "h": 301
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#2B0E4A
secondary
#5B852F
accent
#EB3D97
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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