#2B0447#2B0447

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

Color values

HEX#2B0447
RGBrgb(43, 4, 71)
HSLhsl(275, 89%, 15%)
HSVhsv(275, 94%, 28%)
CMYKcmyk(39.4%, 94.4%, 0%, 72.2%)
CIE-LABlab(9.44, 32.31, -32.44)
CIE-LCHlch(9.44, 45.79, 314.89°)
OKLaboklab(23.44% 0.0651 -0.0926)
OKLCHoklch(23.44% 0.113 305.1)
XYZxyz(2.1767, 1.0554, 6.0490)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0447 #204704
analogous
#090447 #2B0447 #470442
triadic
#2B0447 #472B04 #04472B
tetradic
#2B0447 #470904 #204704 #044247
square
#2B0447 #470904 #204704 #044247
split-complementary
#2B0447 #424704 #044709
monochromatic
#12021D #12021D #2B0447 #4E0781 #710BBB

Accessibility & contrast

On white

17.34
#2B0447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0447
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0447#FFFFFF#000000##FFFFFF
##2B04471.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#261727
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0447;
/* rgb */ color: rgb(43, 4, 71);
/* oklch */ color: oklch(23.4% 0.113 305.1);
Tailwind
colors: {
  custom: {
    50: '#684a7b',
    500: '#2b0447',
    950: '#000000',
  },
}
SCSS
$custom: #2b0447;
$custom-light: #684a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0447",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 71
  },
  "hsl": {
    "h": 274.925,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23435,
    "c": 0.11315,
    "h": 305.1
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#2B0447
secondary
#4B881F
accent
#FF2982
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2B0447

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

Preview Lab → · Contrast checker → · Palette generator →

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