#2B0844#2B0844

#2B0844 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.105 H 306.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2B0844
RGBrgb(43, 8, 68)
HSLhsl(275, 79%, 15%)
HSVhsv(275, 88%, 27%)
CMYKcmyk(36.8%, 88.2%, 0%, 73.3%)
CIE-LABlab(9.83, 29.53, -29.70)
CIE-LCHlch(9.83, 41.88, 314.84°)
OKLaboklab(23.61% 0.0617 -0.0845)
OKLCHoklch(23.61% 0.105 306.1)
XYZxyz(2.1263, 1.1046, 5.5689)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0844 #214408
analogous
#0D0844 #2B0844 #44083F
triadic
#2B0844 #442B08 #08442B
tetradic
#2B0844 #440D08 #214408 #083F44
square
#2B0844 #440D08 #214408 #083F44
split-complementary
#2B0844 #3F4408 #08440D
monochromatic
#11031B #11031B #2B0844 #4E0E7B #7015B2

Accessibility & contrast

On white

17.20
#2B0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0844
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0844#FFFFFF#000000##FFFFFF
##2B08441.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0844;
/* rgb */ color: rgb(43, 8, 68);
/* oklch */ color: oklch(23.6% 0.105 306.1);
Tailwind
colors: {
  custom: {
    50: '#684c78',
    500: '#2b0844',
    950: '#000000',
  },
}
SCSS
$custom: #2b0844;
$custom-light: #684c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0844",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 275,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23613,
    "c": 0.10469,
    "h": 306.1
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#2B0844
secondary
#4C8226
accent
#F53284
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0844

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

Preview Lab → · Contrast checker → · Palette generator →

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