#2D0D50#2D0D50

#2D0D50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.113 H 300.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#2D0D50
RGBrgb(45, 13, 80)
HSLhsl(269, 72%, 18%)
HSVhsv(269, 84%, 31%)
CMYKcmyk(43.7%, 83.7%, 0%, 68.6%)
CIE-LABlab(12.12, 30.85, -34.30)
CIE-LCHlch(12.12, 46.13, 311.97°)
OKLaboklab(25.64% 0.0565 -0.098)
OKLCHoklch(25.64% 0.113 300)
XYZxyz(2.6737, 1.4249, 7.7220)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D50 #30500D
analogous
#0D0E50 #2D0D50 #4E0D50
triadic
#2D0D50 #502D0D #0D502D
tetradic
#2D0D50 #500D0E #30500D #0D504E
square
#2D0D50 #500D0E #30500D #0D504E
split-complementary
#2D0D50 #504E0D #0E500D
monochromatic
#0F041A #0F041B #2D0D50 #4B1685 #681EB9

Accessibility & contrast

On white

16.34
#2D0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2D0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D50
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D50#FFFFFF#000000##FFFFFF
##2D0D501.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#251F2E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d0d50;
/* rgb */ color: rgb(45, 13, 80);
/* oklch */ color: oklch(25.6% 0.113 300.0);
Tailwind
colors: {
  custom: {
    50: '#6a5082',
    500: '#2d0d50',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d50;
$custom-light: #6a5082;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d50",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 268.657,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25641,
    "c": 0.11314,
    "h": 300
  },
  "luminance": 0.01425
}

Semantic roles & 50–950 ramp

primary
#2D0D50
secondary
#5E8B2E
accent
#EF3998
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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