#2B143A#2B143A

#2B143A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.074 H 310.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#2B143A
RGBrgb(43, 20, 58)
HSLhsl(276, 49%, 15%)
HSVhsv(276, 66%, 23%)
CMYKcmyk(25.9%, 65.5%, 0%, 77.3%)
CIE-LABlab(11.41, 20.12, -20.05)
CIE-LCHlch(11.41, 28.41, 315.10°)
OKLaboklab(24.48% 0.0472 -0.0563)
OKLCHoklch(24.48% 0.074 310)
XYZxyz(2.0100, 1.3194, 4.1510)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B143A #233A14
analogous
#18143A #2B143A #3A1436
triadic
#2B143A #3A2B14 #143A2B
tetradic
#2B143A #3A1814 #233A14 #14363A
square
#2B143A #3A1814 #233A14 #14363A
split-complementary
#2B143A #363A14 #143A18
monochromatic
#110817 #110817 #2B143A #4D2468 #6E3395

Accessibility & contrast

On white

16.62
#2B143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B143A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B143A#FFFFFF#000000##FFFFFF
##2B143A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#101F39
Tritanopia (blue-blind)
#291B24
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b143a;
/* rgb */ color: rgb(43, 20, 58);
/* oklch */ color: oklch(24.5% 0.074 310.0);
Tailwind
colors: {
  custom: {
    50: '#665270',
    500: '#2b143a',
    950: '#000000',
  },
}
SCSS
$custom: #2b143a;
$custom-light: #665270;
$custom-dark: #000000;
JSON
{
  "hex": "#2b143a",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 276.316,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24482,
    "c": 0.07351,
    "h": 310
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#2B143A
secondary
#4F7238
accent
#D85086
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B143A

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

Preview Lab → · Contrast checker → · Palette generator →

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