#2B0847#2B0847

#2B0847 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.108 H 304.2°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#2B0847
RGBrgb(43, 8, 71)
HSLhsl(273, 80%, 15%)
HSVhsv(273, 89%, 28%)
CMYKcmyk(39.4%, 88.7%, 0%, 72.2%)
CIE-LABlab(10.12, 30.33, -31.33)
CIE-LCHlch(10.12, 43.61, 314.06°)
OKLaboklab(23.91% 0.0608 -0.0893)
OKLCHoklch(23.91% 0.108 304.2)
XYZxyz(2.2202, 1.1422, 6.0635)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0847 #244708
analogous
#0B0847 #2B0847 #470843
triadic
#2B0847 #472B08 #08472B
tetradic
#2B0847 #470B08 #244708 #084347
square
#2B0847 #470B08 #244708 #084347
split-complementary
#2B0847 #434708 #08470B
monochromatic
#11031C #11031C #2B0847 #4C0E7E #6E14B5

Accessibility & contrast

On white

17.10
#2B0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0847
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0847#FFFFFF#000000##FFFFFF
##2B08471.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#251928
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0847;
/* rgb */ color: rgb(43, 8, 71);
/* oklch */ color: oklch(23.9% 0.108 304.2);
Tailwind
colors: {
  custom: {
    50: '#684c7b',
    500: '#2b0847',
    950: '#000000',
  },
}
SCSS
$custom: #2b0847;
$custom-light: #684c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0847",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 273.333,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23905,
    "c": 0.10807,
    "h": 304.2
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#2B0847
secondary
#508526
accent
#F63289
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0847

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

Preview Lab → · Contrast checker → · Palette generator →

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