#2B0641#2B0641

#2B0641 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.104 H 308.6°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2B0641
RGBrgb(43, 6, 65)
HSLhsl(278, 83%, 14%)
HSVhsv(278, 91%, 25%)
CMYKcmyk(33.8%, 90.8%, 0%, 74.5%)
CIE-LABlab(9.20, 29.76, -28.60)
CIE-LCHlch(9.20, 41.28, 316.14°)
OKLaboklab(23.08% 0.0649 -0.0813)
OKLCHoklch(23.08% 0.104 308.6)
XYZxyz(2.0153, 1.0255, 5.0918)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0641 #1C4106
analogous
#0E0641 #2B0641 #41063A
triadic
#2B0641 #412B06 #06412B
tetradic
#2B0641 #410E06 #1C4106 #063A41
square
#2B0641 #410E06 #1C4106 #063A41
split-complementary
#2B0641 #3A4106 #06410E
monochromatic
#13031C #13031C #2B0641 #500B79 #7510B1

Accessibility & contrast

On white

17.43
#2B0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0641
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0641#FFFFFF#000000##FFFFFF
##2B06411.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#271524
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0641;
/* rgb */ color: rgb(43, 6, 65);
/* oklch */ color: oklch(23.1% 0.104 308.6);
Tailwind
colors: {
  custom: {
    50: '#684b76',
    500: '#2b0641',
    950: '#000000',
  },
}
SCSS
$custom: #2b0641;
$custom-light: #684b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0641",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 277.627,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23083,
    "c": 0.10405,
    "h": 308.6
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2B0641
secondary
#458122
accent
#F92E7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0641

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

Preview Lab → · Contrast checker → · Palette generator →

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