#2B1045#2B1045

#2B1045 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.095 H 303.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#2B1045
RGBrgb(43, 16, 69)
HSLhsl(271, 62%, 17%)
HSVhsv(271, 77%, 27%)
CMYKcmyk(37.7%, 76.8%, 0%, 72.9%)
CIE-LABlab(11.37, 25.70, -27.90)
CIE-LCHlch(11.37, 37.94, 312.65°)
OKLaboklab(24.73% 0.0524 -0.0793)
OKLCHoklch(24.73% 0.095 303.4)
XYZxyz(2.2555, 1.3138, 5.7638)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1045 #2A4510
analogous
#111045 #2B1045 #451045
triadic
#2B1045 #452B10 #10452B
tetradic
#2B1045 #451110 #2A4510 #104545
square
#2B1045 #451110 #2A4510 #104545
split-complementary
#2B1045 #454510 #104511
monochromatic
#0F0619 #0F0619 #2B1045 #4A1C77 #6927A8

Accessibility & contrast

On white

16.63
#2B1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2B1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1045
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1045#FFFFFF#000000##FFFFFF
##2B10451.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#261C29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b1045;
/* rgb */ color: rgb(43, 16, 69);
/* oklch */ color: oklch(24.7% 0.095 303.4);
Tailwind
colors: {
  custom: {
    50: '#675079',
    500: '#2b1045',
    950: '#000000',
  },
}
SCSS
$custom: #2b1045;
$custom-light: #675079;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1045",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 270.566,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.09506,
    "h": 303.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2B1045
secondary
#587F32
accent
#E54292
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1045

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

Preview Lab → · Contrast checker → · Palette generator →

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