#2A1344#2A1344

#2A1344 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.089 H 301.9°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#2A1344
RGBrgb(42, 19, 68)
HSLhsl(268, 56%, 17%)
HSVhsv(268, 72%, 27%)
CMYKcmyk(38.2%, 72.1%, 0%, 73.3%)
CIE-LABlab(11.79, 23.36, -26.53)
CIE-LCHlch(11.79, 35.35, 311.37°)
OKLaboklab(24.97% 0.0469 -0.0753)
OKLCHoklch(24.97% 0.089 301.9)
XYZxyz(2.2309, 1.3753, 5.6157)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1344 #2D4413
analogous
#131544 #2A1344 #431344
triadic
#2A1344 #442A13 #13442A
tetradic
#2A1344 #441315 #2D4413 #134443
square
#2A1344 #441315 #2D4413 #134443
split-complementary
#2A1344 #444313 #154413
monochromatic
#0F0718 #0F0718 #2A1344 #482074 #652EA4

Accessibility & contrast

On white

16.47
#2A1344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1344
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1344#FFFFFF#000000##FFFFFF
##2A13441.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#251E29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1344;
/* rgb */ color: rgb(42, 19, 68);
/* oklch */ color: oklch(25.0% 0.089 301.9);
Tailwind
colors: {
  custom: {
    50: '#665278',
    500: '#2a1344',
    950: '#000000',
  },
}
SCSS
$custom: #2a1344;
$custom-light: #665278;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1344",
  "rgb": {
    "r": 42,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 268.163,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24972,
    "c": 0.08874,
    "h": 301.9
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#2A1344
secondary
#5C7D36
accent
#E04899
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A1344

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

Preview Lab → · Contrast checker → · Palette generator →

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