#2A1969#2A1969

#2A1969 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.131 H 284.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2A1969
RGBrgb(42, 25, 105)
HSLhsl(253, 62%, 25%)
HSVhsv(253, 76%, 41%)
CMYKcmyk(60%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.54, 31.48, -43.84)
CIE-LCHlch(16.54, 53.97, 305.69°)
OKLaboklab(29.43% 0.0334 -0.1262)
OKLCHoklch(29.43% 0.131 284.8)
XYZxyz(3.8515, 2.2072, 13.5849)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1969 #586919
analogous
#193069 #2A1969 #521969
triadic
#2A1969 #692A19 #19692A
tetradic
#2A1969 #691930 #586919 #196952
square
#2A1969 #691930 #586919 #196952
split-complementary
#2A1969 #695219 #306919
monochromatic
#0A0619 #160D38 #2A1969 #3E259A #5231CC

Accessibility & contrast

On white

14.57
#2A1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2A1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1969
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1969#FFFFFF#000000##FFFFFF
##2A19691.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#0A2F3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a1969;
/* rgb */ color: rgb(42, 25, 105);
/* oklch */ color: oklch(29.4% 0.131 284.8);
Tailwind
colors: {
  custom: {
    50: '#6c5795',
    500: '#2a1969',
    950: '#000000',
  },
}
SCSS
$custom: #2a1969;
$custom-light: #6c5795;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1969",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 252.75,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29433,
    "c": 0.13052,
    "h": 284.8
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#2A1969
secondary
#8A9F3F
accent
#E543C2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #2A1969

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

Preview Lab → · Contrast checker → · Palette generator →

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