#2D0738#2D0738

#2D0738 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.094 H 317.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2D0738
RGBrgb(45, 7, 56)
HSLhsl(287, 78%, 12%)
HSVhsv(287, 88%, 22%)
CMYKcmyk(19.6%, 87.5%, 0%, 78%)
CIE-LABlab(8.95, 27.47, -22.53)
CIE-LCHlch(8.95, 35.52, 320.64°)
OKLaboklab(22.73% 0.0689 -0.0634)
OKLCHoklch(22.73% 0.094 317.4)
XYZxyz(1.8719, 0.9955, 3.8342)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0738 #123807
analogous
#150738 #2D0738 #38072A
triadic
#2D0738 #382D07 #07382D
tetradic
#2D0738 #381507 #123807 #072A38
square
#2D0738 #381507 #123807 #072A38
split-complementary
#2D0738 #2A3807 #073815
monochromatic
#16031B #16031B #2D0738 #590E6E #8415A5

Accessibility & contrast

On white

17.51
#2D0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0738
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0738#FFFFFF#000000##FFFFFF
##2D07381.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#081B37
Tritanopia (blue-blind)
#2D111F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0738;
/* rgb */ color: rgb(45, 7, 56);
/* oklch */ color: oklch(22.7% 0.094 317.4);
Tailwind
colors: {
  custom: {
    50: '#684b6f',
    500: '#2d0738',
    950: '#000000',
  },
}
SCSS
$custom: #2d0738;
$custom-light: #684b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0738",
  "rgb": {
    "r": 45,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 286.531,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22733,
    "c": 0.09365,
    "h": 317.4
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#2D0738
secondary
#367823
accent
#F4345F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0738

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

Preview Lab → · Contrast checker → · Palette generator →

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