#2B143D#2B143D

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

Color values

HEX#2B143D
RGBrgb(43, 20, 61)
HSLhsl(274, 51%, 16%)
HSVhsv(274, 67%, 24%)
CMYKcmyk(29.5%, 67.2%, 0%, 76.1%)
CIE-LABlab(11.63, 20.96, -21.85)
CIE-LCHlch(11.63, 30.28, 313.82°)
OKLaboklab(24.71% 0.0473 -0.0616)
OKLCHoklch(24.71% 0.078 307.5)
XYZxyz(2.0885, 1.3509, 4.5647)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B143D #263D14
analogous
#16143D #2B143D #3D143A
triadic
#2B143D #3D2B14 #143D2B
tetradic
#2B143D #3D1614 #263D14 #143A3D
square
#2B143D #3D1614 #263D14 #143A3D
split-complementary
#2B143D #3A3D14 #143D16
monochromatic
#100817 #100817 #2B143D #4B236B #6C3299

Accessibility & contrast

On white

16.53
#2B143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B143D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B143D#FFFFFF#000000##FFFFFF
##2B143D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#0E1F3C
Tritanopia (blue-blind)
#281C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b143d;
/* rgb */ color: rgb(43, 20, 61);
/* oklch */ color: oklch(24.7% 0.078 307.5);
Tailwind
colors: {
  custom: {
    50: '#665373',
    500: '#2b143d',
    950: '#000000',
  },
}
SCSS
$custom: #2b143d;
$custom-light: #665373;
$custom-dark: #000000;
JSON
{
  "hex": "#2b143d",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 273.659,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2471,
    "c": 0.07765,
    "h": 307.5
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#2B143D
secondary
#537538
accent
#DA4E8B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B143D

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

Preview Lab → · Contrast checker → · Palette generator →

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