#2D1553#2D1553

#2D1553 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.106 H 296.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#2D1553
RGBrgb(45, 21, 83)
HSLhsl(263, 60%, 20%)
HSVhsv(263, 75%, 33%)
CMYKcmyk(45.8%, 74.7%, 0%, 67.5%)
CIE-LABlab(13.94, 27.41, -33.39)
CIE-LCHlch(13.94, 43.20, 309.38°)
OKLaboklab(27.01% 0.0471 -0.0954)
OKLCHoklch(27.01% 0.106 296.3)
XYZxyz(2.9113, 1.7187, 8.3603)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1553 #3B5315
analogous
#151C53 #2D1553 #4C1553
triadic
#2D1553 #532D15 #15532D
tetradic
#2D1553 #53151C #3B5315 #15534C
square
#2D1553 #53151C #3B5315 #15534C
split-complementary
#2D1553 #534C15 #1C5315
monochromatic
#0D0618 #130922 #2D1553 #472184 #622EB5

Accessibility & contrast

On white

15.63
#2D1553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2D1553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1553
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1553#FFFFFF#000000##FFFFFF
##2D15531.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#232432
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d1553;
/* rgb */ color: rgb(45, 21, 83);
/* oklch */ color: oklch(27.0% 0.106 296.3);
Tailwind
colors: {
  custom: {
    50: '#6a5484',
    500: '#2d1553',
    950: '#000000',
  },
}
SCSS
$custom: #2d1553;
$custom-light: #6a5484;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1553",
  "rgb": {
    "r": 45,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 263.226,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27012,
    "c": 0.10641,
    "h": 296.3
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#2D1553
secondary
#6B8B39
accent
#E345A6
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2D1553

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

Preview Lab → · Contrast checker → · Palette generator →

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