#2B153B#2B153B

#2B153B is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.7% C 0.073 H 308.7°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#2B153B
RGBrgb(43, 21, 59)
HSLhsl(275, 48%, 16%)
HSVhsv(275, 64%, 23%)
CMYKcmyk(27.1%, 64.4%, 0%, 76.9%)
CIE-LABlab(11.73, 19.75, -20.26)
CIE-LCHlch(11.73, 28.29, 314.27°)
OKLaboklab(24.74% 0.0457 -0.0569)
OKLCHoklch(24.74% 0.073 308.7)
XYZxyz(2.0537, 1.3657, 4.2922)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B153B #253B15
analogous
#18153B #2B153B #3B1538
triadic
#2B153B #3B2B15 #153B2B
tetradic
#2B153B #3B1815 #253B15 #15383B
square
#2B153B #3B1815 #253B15 #15383B
split-complementary
#2B153B #383B15 #153B18
monochromatic
#100817 #100817 #2B153B #4C2568 #6D3595

Accessibility & contrast

On white

16.49
#2B153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2B153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B153B
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B153B#FFFFFF#000000##FFFFFF
##2B153B1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#291C25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b153b;
/* rgb */ color: rgb(43, 21, 59);
/* oklch */ color: oklch(24.7% 0.073 308.7);
Tailwind
colors: {
  custom: {
    50: '#665371',
    500: '#2b153b',
    950: '#000000',
  },
}
SCSS
$custom: #2b153b;
$custom-light: #665371;
$custom-dark: #000000;
JSON
{
  "hex": "#2b153b",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 274.737,
    "s": 47.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24737,
    "c": 0.07298,
    "h": 308.7
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#2B153B
secondary
#517239
accent
#D75189
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B153B

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

Preview Lab → · Contrast checker → · Palette generator →

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