#2B0E42#2B0E42

#2B0E42 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.094 H 306.0°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2B0E42
RGBrgb(43, 14, 66)
HSLhsl(273, 65%, 16%)
HSVhsv(273, 79%, 26%)
CMYKcmyk(34.8%, 78.8%, 0%, 74.1%)
CIE-LABlab(10.71, 25.97, -26.86)
CIE-LCHlch(10.71, 37.37, 314.04°)
OKLaboklab(24.18% 0.0554 -0.0763)
OKLCHoklch(24.18% 0.094 306)
XYZxyz(2.1365, 1.2210, 5.2763)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E42 #25420E
analogous
#110E42 #2B0E42 #420E3F
triadic
#2B0E42 #422B0E #0E422B
tetradic
#2B0E42 #42110E #25420E #0E3F42
square
#2B0E42 #42110E #25420E #0E3F42
split-complementary
#2B0E42 #3F420E #0E4211
monochromatic
#100519 #100519 #2B0E42 #4C1974 #6D23A7

Accessibility & contrast

On white

16.88
#2B0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E42
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E42#FFFFFF#000000##FFFFFF
##2B0E421.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#011D41
Tritanopia (blue-blind)
#271A26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0e42;
/* rgb */ color: rgb(43, 14, 66);
/* oklch */ color: oklch(24.2% 0.094 306.0);
Tailwind
colors: {
  custom: {
    50: '#674f77',
    500: '#2b0e42',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e42;
$custom-light: #674f77;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e42",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 273.462,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24176,
    "c": 0.09425,
    "h": 306
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#2B0E42
secondary
#517D2F
accent
#E8408A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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