#2B1043#2B1043

#2B1043 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.092 H 304.7°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#2B1043
RGBrgb(43, 16, 67)
HSLhsl(272, 61%, 16%)
HSVhsv(272, 76%, 26%)
CMYKcmyk(35.8%, 76.1%, 0%, 73.7%)
CIE-LABlab(11.20, 25.13, -26.77)
CIE-LCHlch(11.20, 36.72, 313.18°)
OKLaboklab(24.55% 0.0527 -0.076)
OKLCHoklch(24.55% 0.092 304.7)
XYZxyz(2.1944, 1.2894, 5.4424)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1043 #284310
analogous
#121043 #2B1043 #431042
triadic
#2B1043 #432B10 #10432B
tetradic
#2B1043 #431210 #284310 #104243
square
#2B1043 #431210 #284310 #104243
split-complementary
#2B1043 #424310 #104312
monochromatic
#100619 #100619 #2B1043 #4B1C74 #6A28A6

Accessibility & contrast

On white

16.70
#2B1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1043
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1043#FFFFFF#000000##FFFFFF
##2B10431.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#271B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b1043;
/* rgb */ color: rgb(43, 16, 67);
/* oklch */ color: oklch(24.6% 0.092 304.7);
Tailwind
colors: {
  custom: {
    50: '#675077',
    500: '#2b1043',
    950: '#000000',
  },
}
SCSS
$custom: #2b1043;
$custom-light: #675077;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1043",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 271.765,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24553,
    "c": 0.09248,
    "h": 304.7
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#2B1043
secondary
#557D32
accent
#E5438F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1043

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

Preview Lab → · Contrast checker → · Palette generator →

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