#2D0739#2D0739

#2D0739 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.095 H 316.6°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2D0739
RGBrgb(45, 7, 57)
HSLhsl(286, 78%, 13%)
HSVhsv(286, 88%, 22%)
CMYKcmyk(21.1%, 87.7%, 0%, 77.6%)
CIE-LABlab(9.04, 27.71, -23.12)
CIE-LCHlch(9.04, 36.09, 320.15°)
OKLaboklab(22.82% 0.0688 -0.0651)
OKLCHoklch(22.82% 0.095 316.6)
XYZxyz(1.8966, 1.0053, 3.9642)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0739 #133907
analogous
#140739 #2D0739 #39072C
triadic
#2D0739 #392D07 #07392D
tetradic
#2D0739 #391407 #133907 #072C39
square
#2D0739 #391407 #133907 #072C39
split-complementary
#2D0739 #2C3907 #073914
monochromatic
#16031B #16031B #2D0739 #580E70 #8314A6

Accessibility & contrast

On white

17.49
#2D0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0739
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0739#FFFFFF#000000##FFFFFF
##2D07391.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#2C121F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0739;
/* rgb */ color: rgb(45, 7, 57);
/* oklch */ color: oklch(22.8% 0.095 316.6);
Tailwind
colors: {
  custom: {
    50: '#684b70',
    500: '#2d0739',
    950: '#000000',
  },
}
SCSS
$custom: #2d0739;
$custom-light: #684b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0739",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 285.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22817,
    "c": 0.09472,
    "h": 316.6
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#2D0739
secondary
#387923
accent
#F53362
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0739

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

Preview Lab → · Contrast checker → · Palette generator →

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