#2D0944#2D0944

#2D0944 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.104 H 307.9°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#2D0944
RGBrgb(45, 9, 68)
HSLhsl(277, 77%, 15%)
HSVhsv(277, 87%, 27%)
CMYKcmyk(33.8%, 86.8%, 0%, 73.3%)
CIE-LABlab(10.34, 29.46, -28.86)
CIE-LCHlch(10.34, 41.24, 315.59°)
OKLaboklab(24.04% 0.0639 -0.082)
OKLCHoklch(24.04% 0.104 307.9)
XYZxyz(2.2230, 1.1707, 5.5766)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0944 #204409
analogous
#0F0944 #2D0944 #44093D
triadic
#2D0944 #442D09 #09442D
tetradic
#2D0944 #440F09 #204409 #093D44
square
#2D0944 #440F09 #204409 #093D44
split-complementary
#2D0944 #3D4409 #09440F
monochromatic
#12041B #12041B #2D0944 #51107A #7517B0

Accessibility & contrast

On white

17.02
#2D0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0944
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0944#FFFFFF#000000##FFFFFF
##2D09441.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#291826
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0944;
/* rgb */ color: rgb(45, 9, 68);
/* oklch */ color: oklch(24.0% 0.104 307.9);
Tailwind
colors: {
  custom: {
    50: '#694d78',
    500: '#2d0944',
    950: '#000000',
  },
}
SCSS
$custom: #2d0944;
$custom-light: #694d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0944",
  "rgb": {
    "r": 45,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 276.61,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24037,
    "c": 0.10399,
    "h": 307.9
  },
  "luminance": 0.01171
}

Semantic roles & 50–950 ramp

primary
#2D0944
secondary
#4A8227
accent
#F3357F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0944

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

Preview Lab → · Contrast checker → · Palette generator →

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