#2D0646#2D0646

#2D0646 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.110 H 307.2°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2D0646
RGBrgb(45, 6, 70)
HSLhsl(277, 84%, 15%)
HSVhsv(277, 91%, 27%)
CMYKcmyk(35.7%, 91.4%, 0%, 72.5%)
CIE-LABlab(10.03, 31.41, -30.77)
CIE-LCHlch(10.03, 43.96, 315.59°)
OKLaboklab(23.88% 0.0666 -0.0876)
OKLCHoklch(23.88% 0.11 307.2)
XYZxyz(2.2526, 1.1304, 5.8927)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0646 #1F4606
analogous
#0D0646 #2D0646 #46063F
triadic
#2D0646 #462D06 #06462D
tetradic
#2D0646 #460D06 #1F4606 #063F46
square
#2D0646 #460D06 #1F4606 #063F46
split-complementary
#2D0646 #3F4606 #06460D
monochromatic
#12021C #12021C #2D0646 #510B7E #7510B7

Accessibility & contrast

On white

17.13
#2D0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0646
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0646#FFFFFF#000000##FFFFFF
##2D06461.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#291727
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0646;
/* rgb */ color: rgb(45, 6, 70);
/* oklch */ color: oklch(23.9% 0.110 307.2);
Tailwind
colors: {
  custom: {
    50: '#6a4c7a',
    500: '#2d0646',
    950: '#000000',
  },
}
SCSS
$custom: #2d0646;
$custom-light: #6a4c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0646",
  "rgb": {
    "r": 45,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 276.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23883,
    "c": 0.11002,
    "h": 307.2
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#2D0646
secondary
#498522
accent
#FA2D7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0646

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

Preview Lab → · Contrast checker → · Palette generator →

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