#2B0946#2B0946

#2B0946 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.106 H 304.6°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2B0946
RGBrgb(43, 9, 70)
HSLhsl(273, 77%, 15%)
HSVhsv(273, 87%, 27%)
CMYKcmyk(38.6%, 87.1%, 0%, 72.5%)
CIE-LABlab(10.19, 29.58, -30.52)
CIE-LCHlch(10.19, 42.50, 314.10°)
OKLaboklab(23.92% 0.0601 -0.087)
OKLCHoklch(23.92% 0.106 304.6)
XYZxyz(2.1992, 1.1512, 5.8995)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0946 #244609
analogous
#0D0946 #2B0946 #460942
triadic
#2B0946 #462B09 #09462B
tetradic
#2B0946 #460D09 #244609 #094246
square
#2B0946 #460D09 #244609 #094246
split-complementary
#2B0946 #424609 #09460D
monochromatic
#11031B #11031B #2B0946 #4C107C #6E17B2

Accessibility & contrast

On white

17.07
#2B0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0946
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0946#FFFFFF#000000##FFFFFF
##2B09461.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0946;
/* rgb */ color: rgb(43, 9, 70);
/* oklch */ color: oklch(23.9% 0.106 304.6);
Tailwind
colors: {
  custom: {
    50: '#684d7a',
    500: '#2b0946',
    950: '#000000',
  },
}
SCSS
$custom: #2b0946;
$custom-light: #684d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0946",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 273.443,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23923,
    "c": 0.10571,
    "h": 304.6
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#2B0946
secondary
#508427
accent
#F43489
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0946

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

Preview Lab → · Contrast checker → · Palette generator →

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