#2B0941#2B0941

#2B0941 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.100 H 307.9°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2B0941
RGBrgb(43, 9, 65)
HSLhsl(276, 76%, 15%)
HSVhsv(276, 86%, 25%)
CMYKcmyk(33.8%, 86.2%, 0%, 74.5%)
CIE-LABlab(9.73, 28.25, -27.75)
CIE-LCHlch(9.73, 39.60, 315.51°)
OKLaboklab(23.45% 0.0615 -0.0788)
OKLCHoklch(23.45% 0.1 307.9)
XYZxyz(2.0479, 1.0907, 5.1026)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0941 #1F4109
analogous
#0F0941 #2B0941 #41093B
triadic
#2B0941 #412B09 #09412B
tetradic
#2B0941 #410F09 #1F4109 #093B41
square
#2B0941 #410F09 #1F4109 #093B41
split-complementary
#2B0941 #3B4109 #09410F
monochromatic
#12041B #12041B #2B0941 #4F1077 #7218AD

Accessibility & contrast

On white

17.24
#2B0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0941
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0941#FFFFFF#000000##FFFFFF
##2B09411.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#271724
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0941;
/* rgb */ color: rgb(43, 9, 65);
/* oklch */ color: oklch(23.4% 0.100 307.9);
Tailwind
colors: {
  custom: {
    50: '#674c76',
    500: '#2b0941',
    950: '#000000',
  },
}
SCSS
$custom: #2b0941;
$custom-light: #674c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0941",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 276.429,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23449,
    "c": 0.09996,
    "h": 307.9
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#2B0941
secondary
#497F27
accent
#F23680
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0941

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

Preview Lab → · Contrast checker → · Palette generator →

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