#2D0A41#2D0A41

#2D0A41 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.9% C 0.099 H 309.8°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#2D0A41
RGBrgb(45, 10, 65)
HSLhsl(278, 73%, 15%)
HSVhsv(278, 85%, 25%)
CMYKcmyk(30.8%, 84.6%, 0%, 74.5%)
CIE-LABlab(10.23, 28.21, -26.91)
CIE-LCHlch(10.23, 38.99, 316.35°)
OKLaboklab(23.88% 0.0636 -0.0763)
OKLCHoklch(23.88% 0.099 309.8)
XYZxyz(2.1447, 1.1567, 5.1103)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A41 #1E410A
analogous
#120A41 #2D0A41 #410A3A
triadic
#2D0A41 #412D0A #0A412D
tetradic
#2D0A41 #41120A #1E410A #0A3A41
square
#2D0A41 #41120A #1E410A #0A3A41
split-complementary
#2D0A41 #3A410A #0A4112
monochromatic
#12041B #12041B #2D0A41 #521276 #761AAB

Accessibility & contrast

On white

17.05
#2D0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A41
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A41#FFFFFF#000000##FFFFFF
##2D0A411.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#011C40
Tritanopia (blue-blind)
#2A1725
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0a41;
/* rgb */ color: rgb(45, 10, 65);
/* oklch */ color: oklch(23.9% 0.099 309.8);
Tailwind
colors: {
  custom: {
    50: '#694d76',
    500: '#2d0a41',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a41;
$custom-light: #694d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a41",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 278.182,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23879,
    "c": 0.0993,
    "h": 309.8
  },
  "luminance": 0.01157
}

Semantic roles & 50–950 ramp

primary
#2D0A41
secondary
#487E29
accent
#F0387B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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