#2B0849#2B0849

#2B0849 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.110 H 303.0°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2B0849
RGBrgb(43, 8, 73)
HSLhsl(272, 80%, 16%)
HSVhsv(272, 89%, 29%)
CMYKcmyk(41.1%, 89%, 0%, 71.4%)
CIE-LABlab(10.32, 30.86, -32.41)
CIE-LCHlch(10.32, 44.75, 313.60°)
OKLaboklab(24.1% 0.0601 -0.0925)
OKLCHoklch(24.1% 0.11 303)
XYZxyz(2.2854, 1.1683, 6.4071)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0849 #264908
analogous
#0B0849 #2B0849 #490846
triadic
#2B0849 #492B08 #08492B
tetradic
#2B0849 #490B08 #264908 #084649
square
#2B0849 #490B08 #264908 #084649
split-complementary
#2B0849 #464908 #08490B
monochromatic
#10031C #10031C #2B0849 #4B0E80 #6C14B7

Accessibility & contrast

On white

17.02
#2B0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0849
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0849#FFFFFF#000000##FFFFFF
##2B08491.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#251A29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0849;
/* rgb */ color: rgb(43, 8, 73);
/* oklch */ color: oklch(24.1% 0.110 303.0);
Tailwind
colors: {
  custom: {
    50: '#684c7c',
    500: '#2b0849',
    950: '#000000',
  },
}
SCSS
$custom: #2b0849;
$custom-light: #684c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0849",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 272.308,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24104,
    "c": 0.11033,
    "h": 303
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#2B0849
secondary
#538726
accent
#F7318C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0849

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

Preview Lab → · Contrast checker → · Palette generator →

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