#2B0E5D#2B0E5D

#2B0E5D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.127 H 292.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#2B0E5D
RGBrgb(43, 14, 93)
HSLhsl(262, 74%, 21%)
HSVhsv(262, 85%, 36%)
CMYKcmyk(53.8%, 84.9%, 0%, 63.5%)
CIE-LABlab(13.34, 33.78, -41.13)
CIE-LCHlch(13.34, 53.23, 309.39°)
OKLaboklab(26.83% 0.0479 -0.1182)
OKLCHoklch(26.83% 0.127 292.1)
XYZxyz(3.1285, 1.6179, 10.5012)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E5D #405D0E
analogous
#0E185D #2B0E5D #520E5D
triadic
#2B0E5D #5D2B0E #0E5D2B
tetradic
#2B0E5D #5D0E18 #405D0E #0E5D52
square
#2B0E5D #5D0E18 #405D0E #0E5D52
split-complementary
#2B0E5D #5D520E #185D0E
monochromatic
#0C041B #120628 #2B0E5D #441692 #5C1EC7

Accessibility & contrast

On white

15.87
#2B0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2B0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E5D
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E5D#FFFFFF#000000##FFFFFF
##2B0E5D1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1A2536
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b0e5d;
/* rgb */ color: rgb(43, 14, 93);
/* oklch */ color: oklch(26.8% 0.127 292.1);
Tailwind
colors: {
  custom: {
    50: '#6b518c',
    500: '#2b0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e5d;
$custom-light: #6b518c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e5d",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 262.025,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26833,
    "c": 0.12749,
    "h": 292.1
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#2B0E5D
secondary
#719730
accent
#F037AD
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2B0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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