#2B143B#2B143B

#2B143B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.075 H 309.2°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2B143B
RGBrgb(43, 20, 59)
HSLhsl(275, 49%, 15%)
HSVhsv(275, 66%, 23%)
CMYKcmyk(27.1%, 66.1%, 0%, 76.9%)
CIE-LABlab(11.48, 20.40, -20.65)
CIE-LCHlch(11.48, 29.03, 314.65°)
OKLaboklab(24.56% 0.0473 -0.0581)
OKLCHoklch(24.56% 0.075 309.2)
XYZxyz(2.0357, 1.3297, 4.2862)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B143B #243B14
analogous
#17143B #2B143B #3B1437
triadic
#2B143B #3B2B14 #143B2B
tetradic
#2B143B #3B1714 #243B14 #14373B
square
#2B143B #3B1714 #243B14 #14373B
split-complementary
#2B143B #373B14 #143B17
monochromatic
#110817 #110817 #2B143B #4C2369 #6E3396

Accessibility & contrast

On white

16.59
#2B143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B143B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B143B#FFFFFF#000000##FFFFFF
##2B143B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071D3C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#291B25
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2b143b;
/* rgb */ color: rgb(43, 20, 59);
/* oklch */ color: oklch(24.6% 0.075 309.2);
Tailwind
colors: {
  custom: {
    50: '#665271',
    500: '#2b143b',
    950: '#000000',
  },
}
SCSS
$custom: #2b143b;
$custom-light: #665271;
$custom-dark: #000000;
JSON
{
  "hex": "#2b143b",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 275.385,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24557,
    "c": 0.07488,
    "h": 309.2
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#2B143B
secondary
#507338
accent
#D94F88
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B143B

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

Preview Lab → · Contrast checker → · Palette generator →

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