#2B153D#2B153D

#2B153D is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.076 H 307.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2B153D
RGBrgb(43, 21, 61)
HSLhsl(273, 49%, 16%)
HSVhsv(273, 66%, 24%)
CMYKcmyk(29.5%, 65.6%, 0%, 76.1%)
CIE-LABlab(11.87, 20.32, -21.46)
CIE-LCHlch(11.87, 29.55, 313.44°)
OKLaboklab(24.89% 0.0458 -0.0604)
OKLCHoklch(24.89% 0.076 307.1)
XYZxyz(2.1066, 1.3869, 4.5707)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B153D #273D15
analogous
#17153D #2B153D #3D153B
triadic
#2B153D #3D2B15 #153D2B
tetradic
#2B153D #3D1715 #273D15 #153B3D
square
#2B153D #3D1715 #273D15 #153B3D
split-complementary
#2B153D #3B3D15 #153D17
monochromatic
#100817 #100817 #2B153D #4B256B #6B3498

Accessibility & contrast

On white

16.44
#2B153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B153D
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B153D#FFFFFF#000000##FFFFFF
##2B153D1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#281D26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b153d;
/* rgb */ color: rgb(43, 21, 61);
/* oklch */ color: oklch(24.9% 0.076 307.1);
Tailwind
colors: {
  custom: {
    50: '#665373',
    500: '#2b153d',
    950: '#000000',
  },
}
SCSS
$custom: #2b153d;
$custom-light: #665373;
$custom-dark: #000000;
JSON
{
  "hex": "#2b153d",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 273,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24888,
    "c": 0.07579,
    "h": 307.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#2B153D
secondary
#547539
accent
#D84F8D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B153D

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

Preview Lab → · Contrast checker → · Palette generator →

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