#2A1059#2A1059

#2A1059 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.120 H 292.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#2A1059
RGBrgb(42, 16, 89)
HSLhsl(261, 70%, 21%)
HSVhsv(261, 82%, 35%)
CMYKcmyk(52.8%, 82%, 0%, 65.1%)
CIE-LABlab(13.13, 31.43, -38.79)
CIE-LCHlch(13.13, 49.92, 309.02°)
OKLaboklab(26.53% 0.0458 -0.1113)
OKLCHoklch(26.53% 0.12 292.4)
XYZxyz(2.9428, 1.5840, 9.5999)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1059 #3F5910
analogous
#101A59 #2A1059 #4E1059
triadic
#2A1059 #592A10 #10592A
tetradic
#2A1059 #59101A #3F5910 #10594E
square
#2A1059 #59101A #3F5910 #10594E
split-complementary
#2A1059 #594E10 #1A5910
monochromatic
#0C051A #120725 #2A1059 #42198D #5B23C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A1059#FFFFFF#000000##FFFFFF
##2A10591.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)
#00235B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#1B2434
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1059;
/* rgb */ color: rgb(42, 16, 89);
/* oklch */ color: oklch(26.5% 0.120 292.4);
Tailwind
colors: {
  custom: {
    50: '#6a5189',
    500: '#2a1059',
    950: '#000000',
  },
}
SCSS
$custom: #2a1059;
$custom-light: #6a5189;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1059",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 261.37,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26532,
    "c": 0.12039,
    "h": 292.4
  },
  "luminance": 0.01584
}

Semantic roles & 50–950 ramp

primary
#2A1059
secondary
#709233
accent
#EC3BAD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A1059

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

Preview Lab → · Contrast checker → · Palette generator →

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