#2B0346#2B0346

#2B0346 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.2% C 0.113 H 306.0°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#2B0346
RGBrgb(43, 3, 70)
HSLhsl(276, 92%, 14%)
HSVhsv(276, 96%, 27%)
CMYKcmyk(38.6%, 95.7%, 0%, 72.5%)
CIE-LABlab(9.16, 32.59, -32.20)
CIE-LCHlch(9.16, 45.81, 315.34°)
OKLaboklab(23.21% 0.0666 -0.0918)
OKLCHoklch(23.21% 0.113 306)
XYZxyz(2.1341, 1.0209, 5.8778)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0346 #1E4603
analogous
#0A0346 #2B0346 #460340
triadic
#2B0346 #462B03 #03462B
tetradic
#2B0346 #460A03 #1E4603 #034046
square
#2B0346 #460A03 #1E4603 #034046
split-complementary
#2B0346 #404603 #03460A
monochromatic
#12011D #12011D #2B0346 #4F0681 #7308BB

Accessibility & contrast

On white

17.44
#2B0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0346
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0346#FFFFFF#000000##FFFFFF
##2B03461.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#261626
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0346;
/* rgb */ color: rgb(43, 3, 70);
/* oklch */ color: oklch(23.2% 0.113 306.0);
Tailwind
colors: {
  custom: {
    50: '#684a7a',
    500: '#2b0346',
    950: '#000000',
  },
}
SCSS
$custom: #2b0346;
$custom-light: #684a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0346",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 275.821,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2321,
    "c": 0.11344,
    "h": 306
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#2B0346
secondary
#48871D
accent
#FF297F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2B0346

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

Preview Lab → · Contrast checker → · Palette generator →

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