#2A1049#2A1049

#2A1049 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.100 H 300.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#2A1049
RGBrgb(42, 16, 73)
HSLhsl(267, 64%, 17%)
HSVhsv(267, 78%, 29%)
CMYKcmyk(42.5%, 78.1%, 0%, 71.4%)
CIE-LABlab(11.58, 26.63, -30.37)
CIE-LCHlch(11.58, 40.39, 311.25°)
OKLaboklab(24.96% 0.05 -0.0866)
OKLCHoklch(24.96% 0.1 300)
XYZxyz(2.3424, 1.3438, 6.4380)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1049 #2F4910
analogous
#101349 #2A1049 #461049
triadic
#2A1049 #492A10 #10492A
tetradic
#2A1049 #491013 #2F4910 #104946
square
#2A1049 #491013 #2F4910 #104946
split-complementary
#2A1049 #494610 #134910
monochromatic
#0E0619 #0E0619 #2A1049 #471B7B #6426AD

Accessibility & contrast

On white

16.55
#2A1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2A1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1049
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1049#FFFFFF#000000##FFFFFF
##2A10491.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#231E2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1049;
/* rgb */ color: rgb(42, 16, 73);
/* oklch */ color: oklch(25.0% 0.100 300.0);
Tailwind
colors: {
  custom: {
    50: '#67507c',
    500: '#2a1049',
    950: '#000000',
  },
}
SCSS
$custom: #2a1049;
$custom-light: #67507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1049",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 267.368,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24955,
    "c": 0.10001,
    "h": 300
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#2A1049
secondary
#5E8332
accent
#E7419B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A1049

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

Preview Lab → · Contrast checker → · Palette generator →

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