#2D0E46#2D0E46

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

Color values

HEX#2D0E46
RGBrgb(45, 14, 70)
HSLhsl(273, 67%, 16%)
HSVhsv(273, 80%, 27%)
CMYKcmyk(35.7%, 80%, 0%, 72.5%)
CIE-LABlab(11.37, 27.56, -28.58)
CIE-LCHlch(11.37, 39.70, 313.95°)
OKLaboklab(24.82% 0.0579 -0.0812)
OKLCHoklch(24.82% 0.1 305.5)
XYZxyz(2.3445, 1.3142, 5.9233)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E46 #27460E
analogous
#110E46 #2D0E46 #460E43
triadic
#2D0E46 #462D0E #0E462D
tetradic
#2D0E46 #46110E #27460E #0E4346
square
#2D0E46 #46110E #27460E #0E4346
split-complementary
#2D0E46 #43460E #0E4611
monochromatic
#10051A #10051A #2D0E46 #4E1879 #6F22AC

Accessibility & contrast

On white

16.63
#2D0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E46
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E46#FFFFFF#000000##FFFFFF
##2D0E461.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#281B29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0e46;
/* rgb */ color: rgb(45, 14, 70);
/* oklch */ color: oklch(24.8% 0.100 305.5);
Tailwind
colors: {
  custom: {
    50: '#69507a',
    500: '#2d0e46',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e46;
$custom-light: #69507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e46",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 273.214,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24824,
    "c": 0.09977,
    "h": 305.5
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#2D0E46
secondary
#54812F
accent
#EA3E8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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