#2D1464#2D1464

#2D1464 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.130 H 289.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#2D1464
RGBrgb(45, 20, 100)
HSLhsl(259, 67%, 24%)
HSVhsv(259, 80%, 39%)
CMYKcmyk(55%, 80%, 0%, 60.8%)
CIE-LABlab(15.37, 33.19, -42.45)
CIE-LCHlch(15.37, 53.88, 308.02°)
OKLaboklab(28.53% 0.044 -0.122)
OKLCHoklch(28.53% 0.13 289.8)
XYZxyz(3.6319, 1.9781, 12.2446)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1464 #4B6414
analogous
#142364 #2D1464 #551464
triadic
#2D1464 #642D14 #14642D
tetradic
#2D1464 #641423 #4B6414 #146455
square
#2D1464 #641423 #4B6414 #146455
split-complementary
#2D1464 #645514 #236414
monochromatic
#0B051A #160A31 #2D1464 #441E97 #5B28CA

Accessibility & contrast

On white

15.05
#2D1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2D1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1464
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1464#FFFFFF#000000##FFFFFF
##2D14641.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#192A3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d1464;
/* rgb */ color: rgb(45, 20, 100);
/* oklch */ color: oklch(28.5% 0.130 289.8);
Tailwind
colors: {
  custom: {
    50: '#6d5591',
    500: '#2d1464',
    950: '#000000',
  },
}
SCSS
$custom: #2d1464;
$custom-light: #6d5591;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1464",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 258.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28534,
    "c": 0.12966,
    "h": 289.8
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#2D1464
secondary
#7C9B38
accent
#EA3EB4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2D1464

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

Preview Lab → · Contrast checker → · Palette generator →

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