#2D0747#2D0747

#2D0747 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.110 H 306.4°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#2D0747
RGBrgb(45, 7, 71)
HSLhsl(276, 82%, 15%)
HSVhsv(276, 90%, 28%)
CMYKcmyk(36.6%, 90.1%, 0%, 72.2%)
CIE-LABlab(10.30, 31.18, -31.04)
CIE-LCHlch(10.30, 44.00, 315.13°)
OKLaboklab(24.1% 0.0652 -0.0884)
OKLCHoklch(24.1% 0.11 306.4)
XYZxyz(2.2952, 1.1648, 6.0639)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0747 #214707
analogous
#0D0747 #2D0747 #470741
triadic
#2D0747 #472D07 #07472D
tetradic
#2D0747 #470D07 #214707 #074147
square
#2D0747 #470D07 #214707 #074147
split-complementary
#2D0747 #414707 #07470D
monochromatic
#12031C #12031C #2D0747 #500C7F #7412B6

Accessibility & contrast

On white

17.03
#2D0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0747
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0747#FFFFFF#000000##FFFFFF
##2D07471.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#281827
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0747;
/* rgb */ color: rgb(45, 7, 71);
/* oklch */ color: oklch(24.1% 0.110 306.4);
Tailwind
colors: {
  custom: {
    50: '#6a4c7b',
    500: '#2d0747',
    950: '#000000',
  },
}
SCSS
$custom: #2d0747;
$custom-light: #6a4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0747",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 275.625,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24095,
    "c": 0.10983,
    "h": 306.4
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#2D0747
secondary
#4C8624
accent
#F82F81
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0747

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

Preview Lab → · Contrast checker → · Palette generator →

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