#2B1645#2B1645

#2B1645 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.085 H 301.2°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#2B1645
RGBrgb(43, 22, 69)
HSLhsl(267, 52%, 18%)
HSVhsv(267, 68%, 27%)
CMYKcmyk(37.7%, 68.1%, 0%, 72.9%)
CIE-LABlab(12.72, 22.03, -25.73)
CIE-LCHlch(12.72, 33.87, 310.57°)
OKLaboklab(25.7% 0.0442 -0.073)
OKLCHoklch(25.7% 0.085 301.2)
XYZxyz(2.3571, 1.5171, 5.7977)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1645 #304516
analogous
#161845 #2B1645 #421645
triadic
#2B1645 #452B16 #16452B
tetradic
#2B1645 #451618 #304516 #164542
square
#2B1645 #451618 #304516 #164542
split-complementary
#2B1645 #454216 #184516
monochromatic
#0E0717 #0E0717 #2B1645 #482573 #6534A2

Accessibility & contrast

On white

16.11
#2B1645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B1645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1645
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1645#FFFFFF#000000##FFFFFF
##2B16451.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#072144
Tritanopia (blue-blind)
#26202B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b1645;
/* rgb */ color: rgb(43, 22, 69);
/* oklch */ color: oklch(25.7% 0.085 301.2);
Tailwind
colors: {
  custom: {
    50: '#675479',
    500: '#2b1645',
    950: '#000000',
  },
}
SCSS
$custom: #2b1645;
$custom-light: #675479;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1645",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 266.809,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25699,
    "c": 0.08531,
    "h": 301.2
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#2B1645
secondary
#5F7C3A
accent
#DB4D9B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060309
muted
#7A787B

Preview Lab

Preview with #2B1645

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

Preview Lab → · Contrast checker → · Palette generator →

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