#2A144B#2A144B

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

Color values

HEX#2A144B
RGBrgb(42, 20, 75)
HSLhsl(264, 58%, 19%)
HSVhsv(264, 73%, 29%)
CMYKcmyk(44%, 73.3%, 0%, 70.6%)
CIE-LABlab(12.61, 24.87, -30.08)
CIE-LCHlch(12.61, 39.03, 309.59°)
OKLaboklab(25.75% 0.0447 -0.0858)
OKLCHoklch(25.75% 0.097 297.5)
XYZxyz(2.4747, 1.5005, 6.8145)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A144B #354B14
analogous
#14194B #2A144B #45144B
triadic
#2A144B #4B2A14 #144B2A
tetradic
#2A144B #4B1419 #354B14 #144B45
square
#2A144B #4B1419 #354B14 #144B45
split-complementary
#2A144B #4B4514 #194B14
monochromatic
#0E0618 #0F071B #2A144B #45217B #602EAC

Accessibility & contrast

On white

16.15
#2A144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A144B
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A144B#FFFFFF#000000##FFFFFF
##2A144B1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a144b;
/* rgb */ color: rgb(42, 20, 75);
/* oklch */ color: oklch(25.8% 0.097 297.5);
Tailwind
colors: {
  custom: {
    50: '#67537e',
    500: '#2a144b',
    950: '#000000',
  },
}
SCSS
$custom: #2a144b;
$custom-light: #67537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a144b",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 264,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2575,
    "c": 0.09673,
    "h": 297.5
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#2A144B
secondary
#658338
accent
#E147A3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2A144B

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

Preview Lab → · Contrast checker → · Palette generator →

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