#2B0846#2B0846

#2B0846 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.107 H 304.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0846
RGBrgb(43, 8, 70)
HSLhsl(274, 79%, 15%)
HSVhsv(274, 89%, 27%)
CMYKcmyk(38.6%, 88.6%, 0%, 72.5%)
CIE-LABlab(10.03, 30.06, -30.79)
CIE-LCHlch(10.03, 43.03, 314.31°)
OKLaboklab(23.81% 0.0611 -0.0878)
OKLCHoklch(23.81% 0.107 304.9)
XYZxyz(2.1883, 1.1295, 5.8959)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0846 #234608
analogous
#0C0846 #2B0846 #460842
triadic
#2B0846 #462B08 #08462B
tetradic
#2B0846 #460C08 #234608 #084246
square
#2B0846 #460C08 #234608 #084246
split-complementary
#2B0846 #424608 #08460C
monochromatic
#11031B #11031B #2B0846 #4D0E7D #6E15B4

Accessibility & contrast

On white

17.13
#2B0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0846
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0846#FFFFFF#000000##FFFFFF
##2B08461.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#261827
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0846;
/* rgb */ color: rgb(43, 8, 70);
/* oklch */ color: oklch(23.8% 0.107 304.9);
Tailwind
colors: {
  custom: {
    50: '#684c7a',
    500: '#2b0846',
    950: '#000000',
  },
}
SCSS
$custom: #2b0846;
$custom-light: #684c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0846",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 273.871,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23807,
    "c": 0.10694,
    "h": 304.9
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2B0846
secondary
#4F8426
accent
#F63287
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0846

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

Preview Lab → · Contrast checker → · Palette generator →

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