#2B144B#2B144B

#2B144B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.097 H 298.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#2B144B
RGBrgb(43, 20, 75)
HSLhsl(265, 58%, 19%)
HSVhsv(265, 73%, 29%)
CMYKcmyk(42.7%, 73.3%, 0%, 70.6%)
CIE-LABlab(12.75, 25.11, -29.85)
CIE-LCHlch(12.75, 39.01, 310.07°)
OKLaboklab(25.88% 0.0463 -0.0851)
OKLCHoklch(25.88% 0.097 298.6)
XYZxyz(2.5161, 1.5219, 6.8164)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B144B #344B14
analogous
#14184B #2B144B #46144B
triadic
#2B144B #4B2B14 #144B2B
tetradic
#2B144B #4B1418 #344B14 #144B46
square
#2B144B #4B1418 #344B14 #144B46
split-complementary
#2B144B #4B4614 #184B14
monochromatic
#0E0618 #0F071B #2B144B #47217B #622EAC

Accessibility & contrast

On white

16.10
#2B144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B144B
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B144B#FFFFFF#000000##FFFFFF
##2B144B1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#23212D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b144b;
/* rgb */ color: rgb(43, 20, 75);
/* oklch */ color: oklch(25.9% 0.097 298.6);
Tailwind
colors: {
  custom: {
    50: '#68537e',
    500: '#2b144b',
    950: '#000000',
  },
}
SCSS
$custom: #2b144b;
$custom-light: #68537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b144b",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 265.091,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25877,
    "c": 0.09688,
    "h": 298.6
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#2B144B
secondary
#648338
accent
#E147A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B144B

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

Preview Lab → · Contrast checker → · Palette generator →

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