#2D1E69#2D1E69

#2D1E69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.124 H 285.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2D1E69
RGBrgb(45, 30, 105)
HSLhsl(252, 56%, 26%)
HSVhsv(252, 71%, 41%)
CMYKcmyk(57.1%, 71.4%, 0%, 58.8%)
CIE-LABlab(17.95, 28.97, -41.52)
CIE-LCHlch(17.95, 50.63, 304.91°)
OKLaboklab(30.51% 0.0333 -0.1193)
OKLCHoklch(30.51% 0.124 285.6)
XYZxyz(4.0955, 2.5061, 13.6298)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E69 #5A691E
analogous
#1E3569 #2D1E69 #531E69
triadic
#2D1E69 #692D1E #1E692D
tetradic
#2D1E69 #691E35 #5A691E #1E6953
square
#2D1E69 #691E35 #5A691E #1E6953
split-complementary
#2D1E69 #69531E #35691E
monochromatic
#0A0718 #191039 #2D1E69 #412C99 #573BC7

Accessibility & contrast

On white

13.99
#2D1E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2D1E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E69
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E69#FFFFFF#000000##FFFFFF
##2D1E691.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#133140
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2d1e69;
/* rgb */ color: rgb(45, 30, 105);
/* oklch */ color: oklch(30.5% 0.124 285.6);
Tailwind
colors: {
  custom: {
    50: '#6d5b95',
    500: '#2d1e69',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e69;
$custom-light: #6d5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e69",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.12388,
    "h": 285.6
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#2D1E69
secondary
#8C9E45
accent
#DF49C1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2D1E69

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

Preview Lab → · Contrast checker → · Palette generator →

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