#2A1353#2A1353

#2A1353 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.109 H 294.1°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#2A1353
RGBrgb(42, 19, 83)
HSLhsl(262, 63%, 20%)
HSVhsv(262, 77%, 33%)
CMYKcmyk(49.4%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.12, 27.94, -34.73)
CIE-LCHlch(13.12, 44.58, 308.82°)
OKLaboklab(26.34% 0.0444 -0.0995)
OKLCHoklch(26.34% 0.109 294.1)
XYZxyz(2.7486, 1.5824, 8.3426)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1353 #3C5313
analogous
#131C53 #2A1353 #4A1353
triadic
#2A1353 #532A13 #13532A
tetradic
#2A1353 #53131C #3C5313 #13534A
square
#2A1353 #53131C #3C5313 #13534A
split-complementary
#2A1353 #534A13 #1C5313
monochromatic
#0D0619 #110821 #2A1353 #431E85 #5C2AB7

Accessibility & contrast

On white

15.95
#2A1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1353
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1353#FFFFFF#000000##FFFFFF
##2A13531.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a1353;
/* rgb */ color: rgb(42, 19, 83);
/* oklch */ color: oklch(26.3% 0.109 294.1);
Tailwind
colors: {
  custom: {
    50: '#685384',
    500: '#2a1353',
    950: '#000000',
  },
}
SCSS
$custom: #2a1353;
$custom-light: #685384;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1353",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 261.563,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26343,
    "c": 0.10893,
    "h": 294.1
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#2A1353
secondary
#6D8B36
accent
#E642AB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #2A1353

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

Preview Lab → · Contrast checker → · Palette generator →

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