#2D0E5D#2D0E5D

#2D0E5D is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.128 H 293.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#2D0E5D
RGBrgb(45, 14, 93)
HSLhsl(264, 74%, 21%)
HSVhsv(264, 85%, 36%)
CMYKcmyk(51.6%, 84.9%, 0%, 63.5%)
CIE-LABlab(13.60, 34.09, -40.69)
CIE-LCHlch(13.60, 53.08, 309.96°)
OKLaboklab(27.08% 0.0513 -0.1168)
OKLCHoklch(27.08% 0.128 293.7)
XYZxyz(3.2145, 1.6622, 10.5053)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E5D #3E5D0E
analogous
#0E165D #2D0E5D #540E5D
triadic
#2D0E5D #5D2D0E #0E5D2D
tetradic
#2D0E5D #5D0E16 #3E5D0E #0E5D54
square
#2D0E5D #5D0E16 #3E5D0E #0E5D54
split-complementary
#2D0E5D #5D540E #165D0E
monochromatic
#0D041B #130628 #2D0E5D #471692 #601EC7

Accessibility & contrast

On white

15.76
#2D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2D0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E5D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E5D#FFFFFF#000000##FFFFFF
##2D0E5D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1E2536
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d0e5d;
/* rgb */ color: rgb(45, 14, 93);
/* oklch */ color: oklch(27.1% 0.128 293.7);
Tailwind
colors: {
  custom: {
    50: '#6c518c',
    500: '#2d0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e5d;
$custom-light: #6c518c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e5d",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 263.544,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27078,
    "c": 0.12756,
    "h": 293.7
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#2D0E5D
secondary
#6E9730
accent
#F037A8
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2D0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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