#2B0D50#2B0D50

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

Color values

HEX#2B0D50
RGBrgb(43, 13, 80)
HSLhsl(267, 72%, 18%)
HSVhsv(267, 84%, 31%)
CMYKcmyk(46.2%, 83.7%, 0%, 68.6%)
CIE-LABlab(11.83, 30.47, -34.79)
CIE-LCHlch(11.83, 46.25, 311.21°)
OKLaboklab(25.37% 0.0531 -0.0995)
OKLCHoklch(25.37% 0.113 298.1)
XYZxyz(2.5878, 1.3806, 7.7180)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D50 #32500D
analogous
#0D1050 #2B0D50 #4C0D50
triadic
#2B0D50 #502B0D #0D502B
tetradic
#2B0D50 #500D10 #32500D #0D504C
square
#2B0D50 #500D10 #32500D #0D504C
split-complementary
#2B0D50 #504C0D #10500D
monochromatic
#0E041A #0F041B #2B0D50 #471685 #641EB9

Accessibility & contrast

On white

16.46
#2B0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D50
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D50#FFFFFF#000000##FFFFFF
##2B0D501.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#221F2E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b0d50;
/* rgb */ color: rgb(43, 13, 80);
/* oklch */ color: oklch(25.4% 0.113 298.1);
Tailwind
colors: {
  custom: {
    50: '#694f82',
    500: '#2b0d50',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d50;
$custom-light: #694f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d50",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 266.866,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2537,
    "c": 0.11283,
    "h": 298.1
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#2B0D50
secondary
#618B2E
accent
#EF399D
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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