#2D0E4A#2D0E4A

#2D0E4A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.105 H 303.0°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#2D0E4A
RGBrgb(45, 14, 74)
HSLhsl(271, 68%, 17%)
HSVhsv(271, 81%, 29%)
CMYKcmyk(39.2%, 81.1%, 0%, 71%)
CIE-LABlab(11.73, 28.66, -30.79)
CIE-LCHlch(11.73, 42.07, 312.95°)
OKLaboklab(25.19% 0.0571 -0.0877)
OKLCHoklch(25.19% 0.105 303)
XYZxyz(2.4750, 1.3664, 6.6106)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E4A #2B4A0E
analogous
#0F0E4A #2D0E4A #4A0E49
triadic
#2D0E4A #4A2D0E #0E4A2D
tetradic
#2D0E4A #4A0F0E #2B4A0E #0E494A
square
#2D0E4A #4A0F0E #2B4A0E #0E494A
split-complementary
#2D0E4A #494A0E #0E4A0F
monochromatic
#10051A #10051A #2D0E4A #4C187D #6C21B1

Accessibility & contrast

On white

16.49
#2D0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E4A
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E4A#FFFFFF#000000##FFFFFF
##2D0E4A1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#271D2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0e4a;
/* rgb */ color: rgb(45, 14, 74);
/* oklch */ color: oklch(25.2% 0.105 303.0);
Tailwind
colors: {
  custom: {
    50: '#69507d',
    500: '#2d0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e4a;
$custom-light: #69507d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e4a",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 271,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2519,
    "c": 0.10465,
    "h": 303
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#2D0E4A
secondary
#58852F
accent
#EB3D91
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2D0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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