#2B084B#2B084B

#2B084B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.113 H 301.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2B084B
RGBrgb(43, 8, 75)
HSLhsl(271, 81%, 16%)
HSVhsv(271, 89%, 29%)
CMYKcmyk(42.7%, 89.3%, 0%, 70.6%)
CIE-LABlab(10.52, 31.40, -33.47)
CIE-LCHlch(10.52, 45.90, 313.17°)
OKLaboklab(24.31% 0.0594 -0.0956)
OKLCHoklch(24.31% 0.113 301.9)
XYZxyz(2.3528, 1.1952, 6.7620)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B084B #284B08
analogous
#09084B #2B084B #4B084A
triadic
#2B084B #4B2B08 #084B2B
tetradic
#2B084B #4B0908 #284B08 #084A4B
square
#2B084B #4B0908 #284B08 #084A4B
split-complementary
#2B084B #4A4B08 #084B09
monochromatic
#10031C #10031C #2B084B #4B0E82 #6A14BA

Accessibility & contrast

On white

16.95
#2B084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B084B
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B084B#FFFFFF#000000##FFFFFF
##2B084B1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#241B2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b084b;
/* rgb */ color: rgb(43, 8, 75);
/* oklch */ color: oklch(24.3% 0.113 301.9);
Tailwind
colors: {
  custom: {
    50: '#694d7e',
    500: '#2b084b',
    950: '#000000',
  },
}
SCSS
$custom: #2b084b;
$custom-light: #694d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b084b",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 271.343,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24305,
    "c": 0.1126,
    "h": 301.9
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#2B084B
secondary
#558926
accent
#F7318F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2B084B

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

Preview Lab → · Contrast checker → · Palette generator →

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