#2D1469#2D1469

#2D1469 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.136 H 288.2°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#2D1469
RGBrgb(45, 20, 105)
HSLhsl(258, 68%, 25%)
HSVhsv(258, 81%, 41%)
CMYKcmyk(57.1%, 81%, 0%, 58.8%)
CIE-LABlab(15.89, 34.72, -44.89)
CIE-LCHlch(15.89, 56.75, 307.72°)
OKLaboklab(29.05% 0.0425 -0.1291)
OKLCHoklch(29.05% 0.136 288.2)
XYZxyz(3.8814, 2.0779, 13.5584)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1469 #506914
analogous
#142669 #2D1469 #581469
triadic
#2D1469 #692D14 #14692D
tetradic
#2D1469 #691426 #506914 #146958
square
#2D1469 #691426 #506914 #146958
split-complementary
#2D1469 #695814 #266914
monochromatic
#0B051A #170A36 #2D1469 #431E9C #5928D0

Accessibility & contrast

On white

14.83
#2D1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1469
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1469#FFFFFF#000000##FFFFFF
##2D14691.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#142C3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d1469;
/* rgb */ color: rgb(45, 20, 105);
/* oklch */ color: oklch(29.1% 0.136 288.2);
Tailwind
colors: {
  custom: {
    50: '#6e5595',
    500: '#2d1469',
    950: '#000000',
  },
}
SCSS
$custom: #2d1469;
$custom-light: #6e5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1469",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 257.647,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29055,
    "c": 0.13593,
    "h": 288.2
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#2D1469
secondary
#82A039
accent
#EB3DB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2D1469

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

Preview Lab → · Contrast checker → · Palette generator →

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