#2D0849#2D0849

#2D0849 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.111 H 305.0°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#2D0849
RGBrgb(45, 8, 73)
HSLhsl(274, 80%, 16%)
HSVhsv(274, 89%, 29%)
CMYKcmyk(38.4%, 89%, 0%, 71.4%)
CIE-LABlab(10.65, 31.23, -31.86)
CIE-LCHlch(10.65, 44.61, 314.43°)
OKLaboklab(24.4% 0.0635 -0.0908)
OKLCHoklch(24.4% 0.111 305)
XYZxyz(2.3713, 1.2126, 6.4112)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0849 #244908
analogous
#0C0849 #2D0849 #490844
triadic
#2D0849 #492D08 #08492D
tetradic
#2D0849 #490C08 #244908 #084449
square
#2D0849 #490C08 #244908 #084449
split-complementary
#2D0849 #444908 #08490C
monochromatic
#11031C #11031C #2D0849 #4F0E80 #7114B7

Accessibility & contrast

On white

16.90
#2D0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0849
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0849#FFFFFF#000000##FFFFFF
##2D08491.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#281A29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0849;
/* rgb */ color: rgb(45, 8, 73);
/* oklch */ color: oklch(24.4% 0.111 305.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d7c',
    500: '#2d0849',
    950: '#000000',
  },
}
SCSS
$custom: #2d0849;
$custom-light: #6a4d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0849",
  "rgb": {
    "r": 45,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 274.154,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24402,
    "c": 0.11082,
    "h": 305
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#2D0849
secondary
#508726
accent
#F73186
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0849

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

Preview Lab → · Contrast checker → · Palette generator →

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