#2D1353#2D1353

#2D1353 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.109 H 296.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#2D1353
RGBrgb(45, 19, 83)
HSLhsl(264, 63%, 20%)
HSVhsv(264, 77%, 33%)
CMYKcmyk(45.8%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.52, 28.56, -34.07)
CIE-LCHlch(13.52, 44.46, 309.98°)
OKLaboklab(26.72% 0.0494 -0.0974)
OKLCHoklch(26.72% 0.109 296.9)
XYZxyz(2.8760, 1.6481, 8.3485)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1353 #395313
analogous
#131953 #2D1353 #4D1353
triadic
#2D1353 #532D13 #13532D
tetradic
#2D1353 #531319 #395313 #13534D
square
#2D1353 #531319 #395313 #13534D
split-complementary
#2D1353 #534D13 #195313
monochromatic
#0E0619 #120821 #2D1353 #481E85 #632AB7

Accessibility & contrast

On white

15.79
#2D1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2D1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1353
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1353#FFFFFF#000000##FFFFFF
##2D13531.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#232331
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d1353;
/* rgb */ color: rgb(45, 19, 83);
/* oklch */ color: oklch(26.7% 0.109 296.9);
Tailwind
colors: {
  custom: {
    50: '#6a5384',
    500: '#2d1353',
    950: '#000000',
  },
}
SCSS
$custom: #2d1353;
$custom-light: #6a5384;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1353",
  "rgb": {
    "r": 45,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 264.375,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26715,
    "c": 0.1092,
    "h": 296.9
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#2D1353
secondary
#698B36
accent
#E642A3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2D1353

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

Preview Lab → · Contrast checker → · Palette generator →

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