#2B0646#2B0646

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

Color values

HEX#2B0646
RGBrgb(43, 6, 70)
HSLhsl(275, 84%, 15%)
HSVhsv(275, 91%, 27%)
CMYKcmyk(38.6%, 91.4%, 0%, 72.5%)
CIE-LABlab(9.69, 31.04, -31.34)
CIE-LCHlch(9.69, 44.11, 314.72°)
OKLaboklab(23.57% 0.0633 -0.0894)
OKLCHoklch(23.57% 0.109 305.3)
XYZxyz(2.1666, 1.0861, 5.8887)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0646 #214606
analogous
#0B0646 #2B0646 #460641
triadic
#2B0646 #462B06 #06462B
tetradic
#2B0646 #460B06 #214606 #064146
square
#2B0646 #460B06 #214606 #064146
split-complementary
#2B0646 #414606 #06460B
monochromatic
#11021C #11021C #2B0646 #4E0B7E #7010B7

Accessibility & contrast

On white

17.25
#2B0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0646
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0646#FFFFFF#000000##FFFFFF
##2B06461.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#261727
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0646;
/* rgb */ color: rgb(43, 6, 70);
/* oklch */ color: oklch(23.6% 0.109 305.3);
Tailwind
colors: {
  custom: {
    50: '#684b7a',
    500: '#2b0646',
    950: '#000000',
  },
}
SCSS
$custom: #2b0646;
$custom-light: #684b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0646",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 274.688,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23572,
    "c": 0.10948,
    "h": 305.3
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#2B0646
secondary
#4C8522
accent
#FA2D84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0646

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

Preview Lab → · Contrast checker → · Palette generator →

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