#2A1359#2A1359

#2A1359 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.117 H 291.6°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#2A1359
RGBrgb(42, 19, 89)
HSLhsl(260, 65%, 21%)
HSVhsv(260, 79%, 35%)
CMYKcmyk(52.8%, 78.7%, 0%, 65.1%)
CIE-LABlab(13.70, 29.81, -37.85)
CIE-LCHlch(13.70, 48.18, 308.22°)
OKLaboklab(26.94% 0.0429 -0.1086)
OKLCHoklch(26.94% 0.117 291.6)
XYZxyz(2.9904, 1.6791, 9.6158)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1359 #425913
analogous
#131F59 #2A1359 #4D1359
triadic
#2A1359 #592A13 #13592A
tetradic
#2A1359 #59131F #425913 #13594D
square
#2A1359 #59131F #425913 #13594D
split-complementary
#2A1359 #594D13 #1F5913
monochromatic
#0C0519 #120827 #2A1359 #421E8B #5A29BE

Accessibility & contrast

On white

15.72
#2A1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1359
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1359#FFFFFF#000000##FFFFFF
##2A13591.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#1B2635
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a1359;
/* rgb */ color: rgb(42, 19, 89);
/* oklch */ color: oklch(26.9% 0.117 291.6);
Tailwind
colors: {
  custom: {
    50: '#695389',
    500: '#2a1359',
    950: '#000000',
  },
}
SCSS
$custom: #2a1359;
$custom-light: #695389;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1359",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 259.714,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26935,
    "c": 0.11679,
    "h": 291.6
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#2A1359
secondary
#739137
accent
#E840B1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A1359

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

Preview Lab → · Contrast checker → · Palette generator →

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