#2B0E4C#2B0E4C

#2B0E4C is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.107 H 299.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2B0E4C
RGBrgb(43, 14, 76)
HSLhsl(268, 69%, 18%)
HSVhsv(268, 82%, 30%)
CMYKcmyk(43.4%, 81.6%, 0%, 70.2%)
CIE-LABlab(11.62, 28.81, -32.38)
CIE-LCHlch(11.62, 43.34, 311.66°)
OKLaboklab(25.1% 0.0532 -0.0925)
OKLCHoklch(25.1% 0.107 299.9)
XYZxyz(2.4575, 1.3494, 6.9671)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E4C #2F4C0E
analogous
#0E104C #2B0E4C #4A0E4C
triadic
#2B0E4C #4C2B0E #0E4C2B
tetradic
#2B0E4C #4C0E10 #2F4C0E #0E4C4A
square
#2B0E4C #4C0E10 #2F4C0E #0E4C4A
split-complementary
#2B0E4C #4C4A0E #104C0E
monochromatic
#0F051A #0F051A #2B0E4C #481880 #6521B3

Accessibility & contrast

On white

16.54
#2B0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E4C
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E4C#FFFFFF#000000##FFFFFF
##2B0E4C1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#231E2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b0e4c;
/* rgb */ color: rgb(43, 14, 76);
/* oklch */ color: oklch(25.1% 0.107 299.9);
Tailwind
colors: {
  custom: {
    50: '#68507f',
    500: '#2b0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e4c;
$custom-light: #68507f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e4c",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 268.065,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25101,
    "c": 0.1067,
    "h": 299.9
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#2B0E4C
secondary
#5E872F
accent
#EC3C9A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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