#2B0E49#2B0E49

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

Color values

HEX#2B0E49
RGBrgb(43, 14, 73)
HSLhsl(269, 68%, 17%)
HSVhsv(269, 81%, 29%)
CMYKcmyk(41.1%, 80.8%, 0%, 71.4%)
CIE-LABlab(11.34, 27.95, -30.75)
CIE-LCHlch(11.34, 41.56, 312.26°)
OKLaboklab(24.82% 0.054 -0.0877)
OKLCHoklch(24.82% 0.103 301.6)
XYZxyz(2.3556, 1.3087, 6.4305)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E49 #2C490E
analogous
#0E0E49 #2B0E49 #490E49
triadic
#2B0E49 #492B0E #0E492B
tetradic
#2B0E49 #490E0E #2C490E #0E4949
square
#2B0E49 #490E0E #2C490E #0E4949
split-complementary
#2B0E49 #49490E #0E490E
monochromatic
#0F051A #0F051A #2B0E49 #49187C #6722B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0E49#FFFFFF#000000##FFFFFF
##2B0E491.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)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#251D2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b0e49;
/* rgb */ color: rgb(43, 14, 73);
/* oklch */ color: oklch(24.8% 0.103 301.6);
Tailwind
colors: {
  custom: {
    50: '#684f7c',
    500: '#2b0e49',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e49;
$custom-light: #684f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e49",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 269.492,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24816,
    "c": 0.10298,
    "h": 301.6
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#2B0E49
secondary
#5A842F
accent
#EB3D95
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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