#2A143D#2A143D

#2A143D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.077 H 306.3°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#2A143D
RGBrgb(42, 20, 61)
HSLhsl(272, 51%, 16%)
HSVhsv(272, 67%, 24%)
CMYKcmyk(31.1%, 67.2%, 0%, 76.1%)
CIE-LABlab(11.48, 20.66, -22.09)
CIE-LCHlch(11.48, 30.25, 313.09°)
OKLaboklab(24.57% 0.0457 -0.0623)
OKLCHoklch(24.57% 0.077 306.3)
XYZxyz(2.0471, 1.3295, 4.5627)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A143D #273D14
analogous
#15143D #2A143D #3D143B
triadic
#2A143D #3D2A14 #143D2A
tetradic
#2A143D #3D1514 #273D14 #143B3D
square
#2A143D #3D1514 #273D14 #143B3D
split-complementary
#2A143D #3B3D14 #143D15
monochromatic
#100817 #100817 #2A143D #4A236B #693299

Accessibility & contrast

On white

16.59
#2A143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A143D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A143D#FFFFFF#000000##FFFFFF
##2A143D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#0D1F3C
Tritanopia (blue-blind)
#271C26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a143d;
/* rgb */ color: rgb(42, 20, 61);
/* oklch */ color: oklch(24.6% 0.077 306.3);
Tailwind
colors: {
  custom: {
    50: '#655273',
    500: '#2a143d',
    950: '#000000',
  },
}
SCSS
$custom: #2a143d;
$custom-light: #655273;
$custom-dark: #000000;
JSON
{
  "hex": "#2a143d",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 272.195,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.0773,
    "h": 306.3
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#2A143D
secondary
#547538
accent
#DA4E8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A143D

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

Preview Lab → · Contrast checker → · Palette generator →

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