#2B144A#2B144A

#2B144A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.096 H 299.1°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#2B144A
RGBrgb(43, 20, 74)
HSLhsl(266, 57%, 18%)
HSVhsv(266, 73%, 29%)
CMYKcmyk(41.9%, 73%, 0%, 71%)
CIE-LABlab(12.66, 24.80, -29.30)
CIE-LCHlch(12.66, 38.39, 310.25°)
OKLaboklab(25.79% 0.0465 -0.0834)
OKLCHoklch(25.79% 0.096 299.1)
XYZxyz(2.4821, 1.5083, 6.6376)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B144A #334A14
analogous
#14184A #2B144A #46144A
triadic
#2B144A #4A2B14 #144A2B
tetradic
#2B144A #4A1418 #334A14 #144A46
square
#2B144A #4A1418 #334A14 #144A46
split-complementary
#2B144A #4A4614 #184A14
monochromatic
#0E0718 #0F071A #2B144A #47217A #632EAA

Accessibility & contrast

On white

16.13
#2B144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2B144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B144A
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B144A#FFFFFF#000000##FFFFFF
##2B144A1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#24202D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b144a;
/* rgb */ color: rgb(43, 20, 74);
/* oklch */ color: oklch(25.8% 0.096 299.1);
Tailwind
colors: {
  custom: {
    50: '#67537d',
    500: '#2b144a',
    950: '#000000',
  },
}
SCSS
$custom: #2b144a;
$custom-light: #67537d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b144a",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 265.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25789,
    "c": 0.09552,
    "h": 299.1
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#2B144A
secondary
#628238
accent
#E1479F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B144A

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

Preview Lab → · Contrast checker → · Palette generator →

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