#2A1467#2A1467

#2A1467 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.134 H 286.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#2A1467
RGBrgb(42, 20, 103)
HSLhsl(256, 67%, 24%)
HSVhsv(256, 81%, 40%)
CMYKcmyk(59.2%, 80.6%, 0%, 59.6%)
CIE-LABlab(15.34, 33.65, -44.50)
CIE-LCHlch(15.34, 55.79, 307.10°)
OKLaboklab(28.52% 0.0381 -0.1281)
OKLCHoklch(28.52% 0.134 286.6)
XYZxyz(3.6524, 1.9716, 13.0174)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1467 #516714
analogous
#142767 #2A1467 #541467
triadic
#2A1467 #672A14 #14672A
tetradic
#2A1467 #671427 #516714 #146754
square
#2A1467 #671427 #516714 #146754
split-complementary
#2A1467 #675414 #276714
monochromatic
#0A051A #150A34 #2A1467 #3F1E9A #5428CD

Accessibility & contrast

On white

15.06
#2A1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2A1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1467
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1467#FFFFFF#000000##FFFFFF
##2A14671.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#0E2C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a1467;
/* rgb */ color: rgb(42, 20, 103);
/* oklch */ color: oklch(28.5% 0.134 286.6);
Tailwind
colors: {
  custom: {
    50: '#6c5493',
    500: '#2a1467',
    950: '#000000',
  },
}
SCSS
$custom: #2a1467;
$custom-light: #6c5493;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1467",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 255.904,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28523,
    "c": 0.13363,
    "h": 286.6
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#2A1467
secondary
#839E39
accent
#EA3DBD
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2A1467

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

Preview Lab → · Contrast checker → · Palette generator →

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