#2B1669#2B1669

#2B1669 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.134 H 286.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2B1669
RGBrgb(43, 22, 105)
HSLhsl(255, 65%, 25%)
HSVhsv(255, 79%, 41%)
CMYKcmyk(59%, 79%, 0%, 58.8%)
CIE-LABlab(16.04, 33.35, -44.65)
CIE-LCHlch(16.04, 55.73, 306.76°)
OKLaboklab(29.11% 0.0375 -0.1285)
OKLCHoklch(29.11% 0.134 286.3)
XYZxyz(3.8322, 2.1071, 13.5666)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1669 #546916
analogous
#162A69 #2B1669 #551669
triadic
#2B1669 #692B16 #16692B
tetradic
#2B1669 #69162A #546916 #166955
square
#2B1669 #69162A #546916 #166955
split-complementary
#2B1669 #695516 #2A6916
monochromatic
#0A0519 #160B36 #2B1669 #40219C #542BCE

Accessibility & contrast

On white

14.77
#2B1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1669
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1669#FFFFFF#000000##FFFFFF
##2B16691.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#0E2D3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b1669;
/* rgb */ color: rgb(43, 22, 105);
/* oklch */ color: oklch(29.1% 0.134 286.3);
Tailwind
colors: {
  custom: {
    50: '#6d5695',
    500: '#2b1669',
    950: '#000000',
  },
}
SCSS
$custom: #2b1669;
$custom-light: #6d5695;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1669",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 255.181,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.13389,
    "h": 286.3
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#2B1669
secondary
#869F3B
accent
#E83FBE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2B1669

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

Preview Lab → · Contrast checker → · Palette generator →

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