#2D1041#2D1041

#2D1041 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.091 H 308.3°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2D1041
RGBrgb(45, 16, 65)
HSLhsl(276, 60%, 16%)
HSVhsv(276, 75%, 25%)
CMYKcmyk(30.8%, 75.4%, 0%, 74.5%)
CIE-LABlab(11.35, 25.08, -25.11)
CIE-LCHlch(11.35, 35.49, 314.96°)
OKLaboklab(24.67% 0.0561 -0.071)
OKLCHoklch(24.67% 0.091 308.3)
XYZxyz(2.2214, 1.3102, 5.1359)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1041 #244110
analogous
#141041 #2D1041 #41103C
triadic
#2D1041 #412D10 #10412D
tetradic
#2D1041 #411410 #244110 #103C41
square
#2D1041 #411410 #244110 #103C41
split-complementary
#2D1041 #3C4110 #104114
monochromatic
#110619 #110619 #2D1041 #4F1C72 #7128A3

Accessibility & contrast

On white

16.64
#2D1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D1041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1041
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1041#FFFFFF#000000##FFFFFF
##2D10411.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#2A1A26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d1041;
/* rgb */ color: rgb(45, 16, 65);
/* oklch */ color: oklch(24.7% 0.091 308.3);
Tailwind
colors: {
  custom: {
    50: '#685076',
    500: '#2d1041',
    950: '#000000',
  },
}
SCSS
$custom: #2d1041;
$custom-light: #685076;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1041",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 275.51,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24671,
    "c": 0.09055,
    "h": 308.3
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2D1041
secondary
#507B32
accent
#E44485
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D1041

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

Preview Lab → · Contrast checker → · Palette generator →

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