#2D0D45#2D0D45

#2D0D45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.100 H 306.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#2D0D45
RGBrgb(45, 13, 69)
HSLhsl(274, 68%, 16%)
HSVhsv(274, 81%, 27%)
CMYKcmyk(34.8%, 81.2%, 0%, 72.9%)
CIE-LABlab(11.10, 27.80, -28.32)
CIE-LCHlch(11.10, 39.69, 314.47°)
OKLaboklab(24.6% 0.0593 -0.0805)
OKLCHoklch(24.6% 0.1 306.4)
XYZxyz(2.3001, 1.2754, 5.7541)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D45 #25450D
analogous
#110D45 #2D0D45 #450D41
triadic
#2D0D45 #452D0D #0D452D
tetradic
#2D0D45 #45110D #25450D #0D4145
square
#2D0D45 #45110D #25450D #0D4145
split-complementary
#2D0D45 #41450D #0D4511
monochromatic
#11051A #11051A #2D0D45 #4F1778 #7020AC

Accessibility & contrast

On white

16.73
#2D0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D45
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D45#FFFFFF#000000##FFFFFF
##2D0D451.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#291A28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0d45;
/* rgb */ color: rgb(45, 13, 69);
/* oklch */ color: oklch(24.6% 0.100 306.4);
Tailwind
colors: {
  custom: {
    50: '#694f79',
    500: '#2d0d45',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d45;
$custom-light: #694f79;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d45",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 274.286,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24604,
    "c": 0.09996,
    "h": 306.4
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#2D0D45
secondary
#51802D
accent
#EB3D87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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