#2A1053#2A1053

#2A1053 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.113 H 294.9°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#2A1053
RGBrgb(42, 16, 83)
HSLhsl(263, 68%, 19%)
HSVhsv(263, 81%, 33%)
CMYKcmyk(49.4%, 80.7%, 0%, 67.5%)
CIE-LABlab(12.53, 29.62, -35.71)
CIE-LCHlch(12.53, 46.39, 309.68°)
OKLaboklab(25.92% 0.0476 -0.1023)
OKLCHoklch(25.92% 0.113 294.9)
XYZxyz(2.7010, 1.4873, 8.3267)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1053 #395310
analogous
#101753 #2A1053 #4C1053
triadic
#2A1053 #532A10 #10532A
tetradic
#2A1053 #531017 #395310 #10534C
square
#2A1053 #531017 #395310 #10534C
split-complementary
#2A1053 #534C10 #175310
monochromatic
#0D051A #100620 #2A1053 #441A86 #5E24BA

Accessibility & contrast

On white

16.19
#2A1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2A1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1053
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1053#FFFFFF#000000##FFFFFF
##2A10531.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#1E2230
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2a1053;
/* rgb */ color: rgb(42, 16, 83);
/* oklch */ color: oklch(25.9% 0.113 294.9);
Tailwind
colors: {
  custom: {
    50: '#695184',
    500: '#2a1053',
    950: '#000000',
  },
}
SCSS
$custom: #2a1053;
$custom-light: #695184;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1053",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 263.284,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25921,
    "c": 0.11282,
    "h": 294.9
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#2A1053
secondary
#6A8D32
accent
#EB3DA7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A1053

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

Preview Lab → · Contrast checker → · Palette generator →

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