#2D1141#2D1141

#2D1141 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.089 H 308.0°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2D1141
RGBrgb(45, 17, 65)
HSLhsl(275, 59%, 16%)
HSVhsv(275, 74%, 25%)
CMYKcmyk(30.8%, 73.8%, 0%, 74.5%)
CIE-LABlab(11.56, 24.51, -24.78)
CIE-LCHlch(11.56, 34.85, 314.68°)
OKLaboklab(24.82% 0.0548 -0.0701)
OKLCHoklch(24.82% 0.089 308)
XYZxyz(2.2366, 1.3405, 5.1409)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1141 #254111
analogous
#151141 #2D1141 #41113D
triadic
#2D1141 #412D11 #11412D
tetradic
#2D1141 #411511 #254111 #113D41
square
#2D1141 #411511 #254111 #113D41
split-complementary
#2D1141 #3D4111 #114115
monochromatic
#110618 #110618 #2D1141 #4F1E72 #702AA2

Accessibility & contrast

On white

16.56
#2D1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1141
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1141#FFFFFF#000000##FFFFFF
##2D11411.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#081F40
Tritanopia (blue-blind)
#2A1B27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d1141;
/* rgb */ color: rgb(45, 17, 65);
/* oklch */ color: oklch(24.8% 0.089 308.0);
Tailwind
colors: {
  custom: {
    50: '#685176',
    500: '#2d1141',
    950: '#000000',
  },
}
SCSS
$custom: #2d1141;
$custom-light: #685176;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1141",
  "rgb": {
    "r": 45,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 275,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24822,
    "c": 0.08893,
    "h": 308
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#2D1141
secondary
#517B33
accent
#E24687
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D1141

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

Preview Lab → · Contrast checker → · Palette generator →

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