#2B1446#2B1446

#2B1446 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.090 H 301.4°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2B1446
RGBrgb(43, 20, 70)
HSLhsl(268, 56%, 18%)
HSVhsv(268, 71%, 27%)
CMYKcmyk(38.6%, 71.4%, 0%, 72.5%)
CIE-LABlab(12.33, 23.60, -27.06)
CIE-LCHlch(12.33, 35.90, 311.09°)
OKLaboklab(25.44% 0.0469 -0.0769)
OKLCHoklch(25.44% 0.09 301.4)
XYZxyz(2.3516, 1.4561, 5.9503)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1446 #2F4614
analogous
#141646 #2B1446 #441446
triadic
#2B1446 #462B14 #14462B
tetradic
#2B1446 #461416 #2F4614 #144644
square
#2B1446 #461416 #2F4614 #144644
split-complementary
#2B1446 #464414 #164614
monochromatic
#0F0718 #0F0718 #2B1446 #482276 #652FA5

Accessibility & contrast

On white

16.26
#2B1446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2B1446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1446
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1446#FFFFFF#000000##FFFFFF
##2B14461.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#032045
Tritanopia (blue-blind)
#251F2A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b1446;
/* rgb */ color: rgb(43, 20, 70);
/* oklch */ color: oklch(25.4% 0.090 301.4);
Tailwind
colors: {
  custom: {
    50: '#67537a',
    500: '#2b1446',
    950: '#000000',
  },
}
SCSS
$custom: #2b1446;
$custom-light: #67537a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1446",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 267.6,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25441,
    "c": 0.09006,
    "h": 301.4
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#2B1446
secondary
#5E7E38
accent
#DF499A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1446

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

Preview Lab → · Contrast checker → · Palette generator →

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