#2B0E51#2B0E51

#2B0E51 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.113 H 297.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#2B0E51
RGBrgb(43, 14, 81)
HSLhsl(266, 71%, 19%)
HSVhsv(266, 83%, 32%)
CMYKcmyk(46.9%, 82.7%, 0%, 68.2%)
CIE-LABlab(12.10, 30.26, -35.03)
CIE-LCHlch(12.10, 46.29, 310.82°)
OKLaboklab(25.59% 0.0518 -0.1003)
OKLCHoklch(25.59% 0.113 297.3)
XYZxyz(2.6381, 1.4217, 7.9184)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E51 #34510E
analogous
#0E1251 #2B0E51 #4C0E51
triadic
#2B0E51 #512B0E #0E512B
tetradic
#2B0E51 #510E12 #34510E #0E514C
square
#2B0E51 #510E12 #34510E #0E514C
split-complementary
#2B0E51 #514C0E #12510E
monochromatic
#0E051A #0F051D #2B0E51 #471785 #6220B9

Accessibility & contrast

On white

16.35
#2B0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B0E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E51
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E51#FFFFFF#000000##FFFFFF
##2B0E511.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002053
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#21202F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b0e51;
/* rgb */ color: rgb(43, 14, 81);
/* oklch */ color: oklch(25.6% 0.113 297.3);
Tailwind
colors: {
  custom: {
    50: '#695082',
    500: '#2b0e51',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e51;
$custom-light: #695082;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e51",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 265.97,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25592,
    "c": 0.11286,
    "h": 297.3
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#2B0E51
secondary
#648C2F
accent
#ED3AA0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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