#2D0E49#2D0E49

#2D0E49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.103 H 303.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2D0E49
RGBrgb(45, 14, 73)
HSLhsl(272, 68%, 17%)
HSVhsv(272, 81%, 29%)
CMYKcmyk(38.4%, 80.8%, 0%, 71.4%)
CIE-LABlab(11.64, 28.39, -30.25)
CIE-LCHlch(11.64, 41.48, 313.18°)
OKLaboklab(25.1% 0.0573 -0.0861)
OKLCHoklch(25.1% 0.103 303.6)
XYZxyz(2.4415, 1.3530, 6.4346)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E49 #2A490E
analogous
#0F0E49 #2D0E49 #490E48
triadic
#2D0E49 #492D0E #0E492D
tetradic
#2D0E49 #490F0E #2A490E #0E4849
square
#2D0E49 #490F0E #2A490E #0E4849
split-complementary
#2D0E49 #48490E #0E490F
monochromatic
#10051A #10051A #2D0E49 #4D187C #6C22B0

Accessibility & contrast

On white

16.53
#2D0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E49
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E49#FFFFFF#000000##FFFFFF
##2D0E491.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#271C2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d0e49;
/* rgb */ color: rgb(45, 14, 73);
/* oklch */ color: oklch(25.1% 0.103 303.6);
Tailwind
colors: {
  custom: {
    50: '#69507c',
    500: '#2d0e49',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e49;
$custom-light: #69507c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e49",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 271.525,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25098,
    "c": 0.10343,
    "h": 303.6
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#2D0E49
secondary
#57842F
accent
#EB3D8F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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