#2D0749#2D0749

#2D0749 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.112 H 305.2°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2D0749
RGBrgb(45, 7, 73)
HSLhsl(275, 83%, 16%)
HSVhsv(275, 90%, 29%)
CMYKcmyk(38.4%, 90.4%, 0%, 71.4%)
CIE-LABlab(10.49, 31.70, -32.12)
CIE-LCHlch(10.49, 45.13, 314.62°)
OKLaboklab(24.29% 0.0645 -0.0916)
OKLCHoklch(24.29% 0.112 305.2)
XYZxyz(2.3605, 1.1909, 6.4075)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0749 #234907
analogous
#0C0749 #2D0749 #490744
triadic
#2D0749 #492D07 #07492D
tetradic
#2D0749 #490C07 #234907 #074449
square
#2D0749 #490C07 #234907 #074449
split-complementary
#2D0749 #444907 #07490C
monochromatic
#11031C #11031C #2D0749 #4F0C81 #7212B9

Accessibility & contrast

On white

16.96
#2D0749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0749
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0749#FFFFFF#000000##FFFFFF
##2D07491.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#281929
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0749;
/* rgb */ color: rgb(45, 7, 73);
/* oklch */ color: oklch(24.3% 0.112 305.2);
Tailwind
colors: {
  custom: {
    50: '#6a4c7c',
    500: '#2d0749',
    950: '#000000',
  },
}
SCSS
$custom: #2d0749;
$custom-light: #6a4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0749",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 274.545,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2429,
    "c": 0.11201,
    "h": 305.2
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#2D0749
secondary
#4E8824
accent
#F92F85
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0749

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

Preview Lab → · Contrast checker → · Palette generator →

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