#2B1046#2B1046

#2B1046 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.096 H 302.8°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2B1046
RGBrgb(43, 16, 70)
HSLhsl(270, 63%, 17%)
HSVhsv(270, 77%, 27%)
CMYKcmyk(38.6%, 77.1%, 0%, 72.5%)
CIE-LABlab(11.46, 25.99, -28.46)
CIE-LCHlch(11.46, 38.54, 312.40°)
OKLaboklab(24.82% 0.0522 -0.081)
OKLCHoklch(24.82% 0.096 302.8)
XYZxyz(2.2868, 1.3264, 5.9287)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1046 #2B4610
analogous
#101046 #2B1046 #461046
triadic
#2B1046 #462B10 #10462B
tetradic
#2B1046 #461010 #2B4610 #104646
square
#2B1046 #461010 #2B4610 #104646
split-complementary
#2B1046 #464610 #104610
monochromatic
#0F0619 #0F0619 #2B1046 #4A1B78 #6827AA

Accessibility & contrast

On white

16.60
#2B1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1046
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1046#FFFFFF#000000##FFFFFF
##2B10461.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#261D29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b1046;
/* rgb */ color: rgb(43, 16, 70);
/* oklch */ color: oklch(24.8% 0.096 302.8);
Tailwind
colors: {
  custom: {
    50: '#67507a',
    500: '#2b1046',
    950: '#000000',
  },
}
SCSS
$custom: #2b1046;
$custom-light: #67507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1046",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.09635,
    "h": 302.8
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#2B1046
secondary
#598032
accent
#E64294
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1046

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

Preview Lab → · Contrast checker → · Palette generator →

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