#2D0E42#2D0E42

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

Color values

HEX#2D0E42
RGBrgb(45, 14, 66)
HSLhsl(276, 65%, 16%)
HSVhsv(276, 79%, 26%)
CMYKcmyk(31.8%, 78.8%, 0%, 74.1%)
CIE-LABlab(11.03, 26.47, -26.33)
CIE-LCHlch(11.03, 37.33, 315.15°)
OKLaboklab(24.47% 0.0586 -0.0746)
OKLCHoklch(24.47% 0.095 308.2)
XYZxyz(2.2224, 1.2653, 5.2804)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E42 #23420E
analogous
#130E42 #2D0E42 #420E3D
triadic
#2D0E42 #422D0E #0E422D
tetradic
#2D0E42 #42130E #23420E #0E3D42
square
#2D0E42 #42130E #23420E #0E3D42
split-complementary
#2D0E42 #3D420E #0E4213
monochromatic
#110519 #110519 #2D0E42 #4F1974 #7223A7

Accessibility & contrast

On white

16.76
#2D0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E42
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E42#FFFFFF#000000##FFFFFF
##2D0E421.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#031E41
Tritanopia (blue-blind)
#2A1A26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0e42;
/* rgb */ color: rgb(45, 14, 66);
/* oklch */ color: oklch(24.5% 0.095 308.2);
Tailwind
colors: {
  custom: {
    50: '#684f77',
    500: '#2d0e42',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e42;
$custom-light: #684f77;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e42",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 275.769,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24472,
    "c": 0.09489,
    "h": 308.2
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#2D0E42
secondary
#4E7D2F
accent
#E84084
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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