#2B0944#2B0944

#2B0944 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.103 H 305.9°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#2B0944
RGBrgb(43, 9, 68)
HSLhsl(275, 77%, 15%)
HSVhsv(275, 87%, 27%)
CMYKcmyk(36.8%, 86.8%, 0%, 73.3%)
CIE-LABlab(10.00, 29.05, -29.42)
CIE-LCHlch(10.00, 41.34, 314.63°)
OKLaboklab(23.73% 0.0607 -0.0837)
OKLCHoklch(23.73% 0.103 305.9)
XYZxyz(2.1371, 1.1263, 5.5725)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0944 #224409
analogous
#0D0944 #2B0944 #44093F
triadic
#2B0944 #442B09 #09442B
tetradic
#2B0944 #440D09 #224409 #093F44
square
#2B0944 #440D09 #224409 #093F44
split-complementary
#2B0944 #3F4409 #09440D
monochromatic
#11041B #11041B #2B0944 #4D107A #6F17B0

Accessibility & contrast

On white

17.14
#2B0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0944
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0944#FFFFFF#000000##FFFFFF
##2B09441.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#261826
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0944;
/* rgb */ color: rgb(43, 9, 68);
/* oklch */ color: oklch(23.7% 0.103 305.9);
Tailwind
colors: {
  custom: {
    50: '#684d78',
    500: '#2b0944',
    950: '#000000',
  },
}
SCSS
$custom: #2b0944;
$custom-light: #684d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0944",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 274.576,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23731,
    "c": 0.1034,
    "h": 305.9
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#2B0944
secondary
#4D8227
accent
#F33585
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0944

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

Preview Lab → · Contrast checker → · Palette generator →

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