#2B143E#2B143E

#2B143E is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.079 H 306.8°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2B143E
RGBrgb(43, 20, 62)
HSLhsl(273, 51%, 16%)
HSVhsv(273, 68%, 24%)
CMYKcmyk(30.6%, 67.7%, 0%, 75.7%)
CIE-LABlab(11.70, 21.25, -22.44)
CIE-LCHlch(11.70, 30.91, 313.45°)
OKLaboklab(24.79% 0.0473 -0.0633)
OKLCHoklch(24.79% 0.079 306.8)
XYZxyz(2.1157, 1.3617, 4.7079)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B143E #273E14
analogous
#16143E #2B143E #3E143C
triadic
#2B143E #3E2B14 #143E2B
tetradic
#2B143E #3E1614 #273E14 #143C3E
square
#2B143E #3E1614 #273E14 #143C3E
split-complementary
#2B143E #3C3E14 #143E16
monochromatic
#100717 #100717 #2B143E #4B236C #6B329B

Accessibility & contrast

On white

16.50
#2B143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B143E
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B143E#FFFFFF#000000##FFFFFF
##2B143E1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#0D1F3D
Tritanopia (blue-blind)
#281C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b143e;
/* rgb */ color: rgb(43, 20, 62);
/* oklch */ color: oklch(24.8% 0.079 306.8);
Tailwind
colors: {
  custom: {
    50: '#665373',
    500: '#2b143e',
    950: '#000000',
  },
}
SCSS
$custom: #2b143e;
$custom-light: #665373;
$custom-dark: #000000;
JSON
{
  "hex": "#2b143e",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 272.857,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24787,
    "c": 0.07904,
    "h": 306.8
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#2B143E
secondary
#547638
accent
#DB4D8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B143E

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

Preview Lab → · Contrast checker → · Palette generator →

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