#2B1047#2B1047

#2B1047 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.098 H 302.2°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2B1047
RGBrgb(43, 16, 71)
HSLhsl(269, 63%, 17%)
HSVhsv(269, 77%, 28%)
CMYKcmyk(39.4%, 77.5%, 0%, 72.2%)
CIE-LABlab(11.55, 26.28, -29.02)
CIE-LCHlch(11.55, 39.15, 312.16°)
OKLaboklab(24.91% 0.052 -0.0826)
OKLCHoklch(24.91% 0.098 302.2)
XYZxyz(2.3186, 1.3391, 6.0963)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1047 #2C4710
analogous
#101047 #2B1047 #471047
triadic
#2B1047 #472B10 #10472B
tetradic
#2B1047 #471010 #2C4710 #104747
square
#2B1047 #471010 #2C4710 #104747
split-complementary
#2B1047 #474710 #104710
monochromatic
#0F0619 #0F0619 #2B1047 #491B79 #6727AB

Accessibility & contrast

On white

16.56
#2B1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1047
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1047#FFFFFF#000000##FFFFFF
##2B10471.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#251D2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b1047;
/* rgb */ color: rgb(43, 16, 71);
/* oklch */ color: oklch(24.9% 0.098 302.2);
Tailwind
colors: {
  custom: {
    50: '#67507b',
    500: '#2b1047',
    950: '#000000',
  },
}
SCSS
$custom: #2b1047;
$custom-light: #67507b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1047",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 269.455,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24908,
    "c": 0.09763,
    "h": 302.2
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#2B1047
secondary
#5A8132
accent
#E64295
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1047

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

Preview Lab → · Contrast checker → · Palette generator →

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