#2A1469#2A1469

#2A1469 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.136 H 286.0°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2A1469
RGBrgb(42, 20, 105)
HSLhsl(256, 68%, 25%)
HSVhsv(256, 81%, 41%)
CMYKcmyk(60%, 81%, 0%, 58.8%)
CIE-LABlab(15.55, 34.28, -45.46)
CIE-LCHlch(15.55, 56.93, 307.02°)
OKLaboklab(28.74% 0.0375 -0.1309)
OKLCHoklch(28.74% 0.136 286)
XYZxyz(3.7540, 2.0123, 13.5525)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1469 #536914
analogous
#142969 #2A1469 #551469
triadic
#2A1469 #692A14 #14692A
tetradic
#2A1469 #691429 #536914 #146955
square
#2A1469 #691429 #536914 #146955
split-complementary
#2A1469 #695514 #296914
monochromatic
#0A051A #150A36 #2A1469 #3F1E9C #5328D0

Accessibility & contrast

On white

14.97
#2A1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1469
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1469#FFFFFF#000000##FFFFFF
##2A14691.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a1469;
/* rgb */ color: rgb(42, 20, 105);
/* oklch */ color: oklch(28.7% 0.136 286.0);
Tailwind
colors: {
  custom: {
    50: '#6c5595',
    500: '#2a1469',
    950: '#000000',
  },
}
SCSS
$custom: #2a1469;
$custom-light: #6c5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1469",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 255.529,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28737,
    "c": 0.13615,
    "h": 286
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#2A1469
secondary
#85A039
accent
#EB3DBE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2A1469

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

Preview Lab → · Contrast checker → · Palette generator →

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