#2A1453#2A1453

#2A1453 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.108 H 293.7°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#2A1453
RGBrgb(42, 20, 83)
HSLhsl(261, 61%, 20%)
HSVhsv(261, 76%, 33%)
CMYKcmyk(49.4%, 75.9%, 0%, 67.5%)
CIE-LABlab(13.33, 27.36, -34.39)
CIE-LCHlch(13.33, 43.94, 308.50°)
OKLaboklab(26.49% 0.0433 -0.0985)
OKLCHoklch(26.49% 0.108 293.7)
XYZxyz(2.7659, 1.6170, 8.3483)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1453 #3D5314
analogous
#141E53 #2A1453 #491453
triadic
#2A1453 #532A14 #14532A
tetradic
#2A1453 #53141E #3D5314 #145349
square
#2A1453 #53141E #3D5314 #145349
split-complementary
#2A1453 #534914 #1E5314
monochromatic
#0C0619 #110822 #2A1453 #432084 #5C2CB6

Accessibility & contrast

On white

15.87
#2A1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1453
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1453#FFFFFF#000000##FFFFFF
##2A14531.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#1E2431
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1453;
/* rgb */ color: rgb(42, 20, 83);
/* oklch */ color: oklch(26.5% 0.108 293.7);
Tailwind
colors: {
  custom: {
    50: '#685384',
    500: '#2a1453',
    950: '#000000',
  },
}
SCSS
$custom: #2a1453;
$custom-light: #685384;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1453",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 260.952,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26493,
    "c": 0.10756,
    "h": 293.7
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#2A1453
secondary
#6E8B38
accent
#E444AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #2A1453

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

Preview Lab → · Contrast checker → · Palette generator →

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