#2A1455#2A1455

#2A1455 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.110 H 292.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#2A1455
RGBrgb(42, 20, 85)
HSLhsl(260, 62%, 21%)
HSVhsv(260, 76%, 33%)
CMYKcmyk(50.6%, 76.5%, 0%, 66.7%)
CIE-LABlab(13.52, 27.98, -35.44)
CIE-LCHlch(13.52, 45.16, 308.29°)
OKLaboklab(26.69% 0.0429 -0.1016)
OKLCHoklch(26.69% 0.11 292.9)
XYZxyz(2.8442, 1.6483, 8.7609)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1455 #3F5514
analogous
#141E55 #2A1455 #4A1455
triadic
#2A1455 #552A14 #14552A
tetradic
#2A1455 #55141E #3F5514 #14554A
square
#2A1455 #55141E #3F5514 #14554A
split-complementary
#2A1455 #554A14 #1E5514
monochromatic
#0C0619 #120823 #2A1455 #422087 #5B2BB8

Accessibility & contrast

On white

15.79
#2A1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1455
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1455#FFFFFF#000000##FFFFFF
##2A14551.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#1D2533
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a1455;
/* rgb */ color: rgb(42, 20, 85);
/* oklch */ color: oklch(26.7% 0.110 292.9);
Tailwind
colors: {
  custom: {
    50: '#685385',
    500: '#2a1455',
    950: '#000000',
  },
}
SCSS
$custom: #2a1455;
$custom-light: #685385;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1455",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 260.308,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26685,
    "c": 0.11024,
    "h": 292.9
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#2A1455
secondary
#708D38
accent
#E543AE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A1455

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

Preview Lab → · Contrast checker → · Palette generator →

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