#2D0F41#2D0F41

#2D0F41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.092 H 308.6°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#2D0F41
RGBrgb(45, 15, 65)
HSLhsl(276, 63%, 16%)
HSVhsv(276, 77%, 25%)
CMYKcmyk(30.8%, 76.9%, 0%, 74.5%)
CIE-LABlab(11.14, 25.65, -25.44)
CIE-LCHlch(11.14, 36.13, 315.23°)
OKLaboklab(24.53% 0.0575 -0.072)
OKLCHoklch(24.53% 0.092 308.6)
XYZxyz(2.2070, 1.2812, 5.1310)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F41 #23410F
analogous
#140F41 #2D0F41 #410F3C
triadic
#2D0F41 #412D0F #0F412D
tetradic
#2D0F41 #41140F #23410F #0F3C41
square
#2D0F41 #41140F #23410F #0F3C41
split-complementary
#2D0F41 #3C410F #0F4114
monochromatic
#110619 #110619 #2D0F41 #4F1A73 #7226A4

Accessibility & contrast

On white

16.72
#2D0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F41
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F41#FFFFFF#000000##FFFFFF
##2D0F411.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#2A1A26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0f41;
/* rgb */ color: rgb(45, 15, 65);
/* oklch */ color: oklch(24.5% 0.092 308.6);
Tailwind
colors: {
  custom: {
    50: '#685076',
    500: '#2d0f41',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f41;
$custom-light: #685076;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f41",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 276,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24526,
    "c": 0.09214,
    "h": 308.6
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#2D0F41
secondary
#4E7B30
accent
#E64284
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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