#2D0641#2D0641

#2D0641 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.105 H 310.6°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2D0641
RGBrgb(45, 6, 65)
HSLhsl(280, 83%, 14%)
HSVhsv(280, 91%, 25%)
CMYKcmyk(30.8%, 90.8%, 0%, 74.5%)
CIE-LABlab(9.56, 30.16, -28.01)
CIE-LCHlch(9.56, 41.16, 317.12°)
OKLaboklab(23.41% 0.0682 -0.0795)
OKLCHoklch(23.41% 0.105 310.6)
XYZxyz(2.1013, 1.0698, 5.0958)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0641 #1A4106
analogous
#100641 #2D0641 #410638
triadic
#2D0641 #412D06 #06412D
tetradic
#2D0641 #411006 #1A4106 #063841
square
#2D0641 #411006 #1A4106 #063841
split-complementary
#2D0641 #384106 #064110
monochromatic
#13031C #13031C #2D0641 #540B79 #7B10B1

Accessibility & contrast

On white

17.30
#2D0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0641
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0641#FFFFFF#000000##FFFFFF
##2D06411.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#2A1524
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0641;
/* rgb */ color: rgb(45, 6, 65);
/* oklch */ color: oklch(23.4% 0.105 310.6);
Tailwind
colors: {
  custom: {
    50: '#694b76',
    500: '#2d0641',
    950: '#000000',
  },
}
SCSS
$custom: #2d0641;
$custom-light: #694b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0641",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 279.661,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23406,
    "c": 0.1047,
    "h": 310.6
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#2D0641
secondary
#428122
accent
#F92E73
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #2D0641

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

Preview Lab → · Contrast checker → · Palette generator →

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