#2B0943#2B0943

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

Color values

HEX#2B0943
RGBrgb(43, 9, 67)
HSLhsl(275, 76%, 15%)
HSVhsv(275, 87%, 26%)
CMYKcmyk(35.8%, 86.6%, 0%, 73.7%)
CIE-LABlab(9.91, 28.78, -28.87)
CIE-LCHlch(9.91, 40.76, 314.91°)
OKLaboklab(23.64% 0.0609 -0.0821)
OKLCHoklch(23.64% 0.102 306.6)
XYZxyz(2.1068, 1.1142, 5.4132)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0943 #214309
analogous
#0E0943 #2B0943 #43093E
triadic
#2B0943 #432B09 #09432B
tetradic
#2B0943 #430E09 #214309 #093E43
square
#2B0943 #430E09 #214309 #093E43
split-complementary
#2B0943 #3E4309 #09430E
monochromatic
#11041B #11041B #2B0943 #4E1079 #7017AF

Accessibility & contrast

On white

17.17
#2B0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0943
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0943#FFFFFF#000000##FFFFFF
##2B09431.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#271826
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0943;
/* rgb */ color: rgb(43, 9, 67);
/* oklch */ color: oklch(23.6% 0.102 306.6);
Tailwind
colors: {
  custom: {
    50: '#684d78',
    500: '#2b0943',
    950: '#000000',
  },
}
SCSS
$custom: #2b0943;
$custom-light: #684d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0943",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 275.172,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23636,
    "c": 0.10226,
    "h": 306.6
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#2B0943
secondary
#4C8127
accent
#F33584
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0943

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

Preview Lab → · Contrast checker → · Palette generator →

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