#2D0347#2D0347

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

Color values

HEX#2D0347
RGBrgb(45, 3, 71)
HSLhsl(277, 92%, 15%)
HSVhsv(277, 96%, 28%)
CMYKcmyk(36.6%, 95.8%, 0%, 72.2%)
CIE-LABlab(9.63, 33.15, -32.14)
CIE-LCHlch(9.63, 46.17, 315.89°)
OKLaboklab(23.63% 0.0695 -0.0916)
OKLCHoklch(23.63% 0.115 307.2)
XYZxyz(2.2518, 1.0780, 6.0495)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0347 #1D4703
analogous
#0B0347 #2D0347 #47033F
triadic
#2D0347 #472D03 #03472D
tetradic
#2D0347 #470B03 #1D4703 #033F47
square
#2D0347 #470B03 #1D4703 #033F47
split-complementary
#2D0347 #3F4703 #03470B
monochromatic
#13011D #13011D #2D0347 #520582 #7708BC

Accessibility & contrast

On white

17.28
#2D0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0347
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0347#FFFFFF#000000##FFFFFF
##2D03471.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#281627
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0347;
/* rgb */ color: rgb(45, 3, 71);
/* oklch */ color: oklch(23.6% 0.115 307.2);
Tailwind
colors: {
  custom: {
    50: '#6a4a7b',
    500: '#2d0347',
    950: '#000000',
  },
}
SCSS
$custom: #2d0347;
$custom-light: #6a4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0347",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 277.059,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23631,
    "c": 0.11497,
    "h": 307.2
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#2D0347
secondary
#46881E
accent
#FF297B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0347

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

Preview Lab → · Contrast checker → · Palette generator →

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