#2A1369#2A1369

#2A1369 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.137 H 286.2°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#2A1369
RGBrgb(42, 19, 105)
HSLhsl(256, 69%, 24%)
HSVhsv(256, 82%, 41%)
CMYKcmyk(60%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.37, 34.80, -45.76)
CIE-LCHlch(15.37, 57.49, 307.26°)
OKLaboklab(28.61% 0.0382 -0.1318)
OKLCHoklch(28.61% 0.137 286.2)
XYZxyz(3.7368, 1.9777, 13.5467)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1369 #526913
analogous
#132769 #2A1369 #551369
triadic
#2A1369 #692A13 #13692A
tetradic
#2A1369 #691327 #526913 #136955
square
#2A1369 #691327 #526913 #136955
split-complementary
#2A1369 #695513 #276913
monochromatic
#0A051A #150A35 #2A1369 #3F1C9D #5326D1

Accessibility & contrast

On white

15.05
#2A1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2A1369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1369
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1369#FFFFFF#000000##FFFFFF
##2A13691.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#0B2C3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a1369;
/* rgb */ color: rgb(42, 19, 105);
/* oklch */ color: oklch(28.6% 0.137 286.2);
Tailwind
colors: {
  custom: {
    50: '#6c5495',
    500: '#2a1369',
    950: '#000000',
  },
}
SCSS
$custom: #2a1369;
$custom-light: #6c5495;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1369",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 256.047,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2861,
    "c": 0.1372,
    "h": 286.2
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#2A1369
secondary
#84A038
accent
#EC3CBD
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2A1369

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

Preview Lab → · Contrast checker → · Palette generator →

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