#2B144F#2B144F

#2B144F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.102 H 296.5°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#2B144F
RGBrgb(43, 20, 79)
HSLhsl(263, 60%, 19%)
HSVhsv(263, 75%, 31%)
CMYKcmyk(45.6%, 74.7%, 0%, 69%)
CIE-LABlab(13.10, 26.33, -32.03)
CIE-LCHlch(13.10, 41.47, 309.42°)
OKLaboklab(26.24% 0.0457 -0.0915)
OKLCHoklch(26.24% 0.102 296.5)
XYZxyz(2.6573, 1.5784, 7.5603)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B144F #384F14
analogous
#141B4F #2B144F #49144F
triadic
#2B144F #4F2B14 #144F2B
tetradic
#2B144F #4F141B #384F14 #144F49
square
#2B144F #4F141B #384F14 #144F49
split-complementary
#2B144F #4F4914 #1B4F14
monochromatic
#0D0618 #10081E #2B144F #462080 #602DB1

Accessibility & contrast

On white

15.96
#2B144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2B144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B144F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B144F#FFFFFF#000000##FFFFFF
##2B144F1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#22222F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b144f;
/* rgb */ color: rgb(43, 20, 79);
/* oklch */ color: oklch(26.2% 0.102 296.5);
Tailwind
colors: {
  custom: {
    50: '#685381',
    500: '#2b144f',
    950: '#000000',
  },
}
SCSS
$custom: #2b144f;
$custom-light: #685381;
$custom-dark: #000000;
JSON
{
  "hex": "#2b144f",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 263.39,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2624,
    "c": 0.10228,
    "h": 296.5
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#2B144F
secondary
#688738
accent
#E345A5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B144F

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

Preview Lab → · Contrast checker → · Palette generator →

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