#2D0640#2D0640

#2D0640 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.104 H 311.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2D0640
RGBrgb(45, 6, 64)
HSLhsl(280, 83%, 14%)
HSVhsv(280, 91%, 25%)
CMYKcmyk(29.7%, 90.6%, 0%, 74.9%)
CIE-LABlab(9.47, 29.91, -27.44)
CIE-LCHlch(9.47, 40.59, 317.46°)
OKLaboklab(23.31% 0.0685 -0.0778)
OKLCHoklch(23.31% 0.104 311.3)
XYZxyz(2.0725, 1.0584, 4.9446)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0640 #194006
analogous
#100640 #2D0640 #400636
triadic
#2D0640 #402D06 #06402D
tetradic
#2D0640 #401006 #194006 #063640
square
#2D0640 #401006 #194006 #063640
split-complementary
#2D0640 #364006 #064010
monochromatic
#14031C #14031C #2D0640 #540B78 #7C10B0

Accessibility & contrast

On white

17.33
#2D0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0640
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0640#FFFFFF#000000##FFFFFF
##2D06401.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#2A1423
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0640;
/* rgb */ color: rgb(45, 6, 64);
/* oklch */ color: oklch(23.3% 0.104 311.3);
Tailwind
colors: {
  custom: {
    50: '#694b75',
    500: '#2d0640',
    950: '#000000',
  },
}
SCSS
$custom: #2d0640;
$custom-light: #694b75;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0640",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 280.345,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23313,
    "c": 0.10364,
    "h": 311.3
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#2D0640
secondary
#418022
accent
#F92F71
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0640

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

Preview Lab → · Contrast checker → · Palette generator →

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