#2D1669#2D1669

#2D1669 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.134 H 287.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#2D1669
RGBrgb(45, 22, 105)
HSLhsl(257, 65%, 25%)
HSVhsv(257, 79%, 41%)
CMYKcmyk(57.1%, 79%, 0%, 58.8%)
CIE-LABlab(16.26, 33.66, -44.28)
CIE-LCHlch(16.26, 55.62, 307.24°)
OKLaboklab(29.32% 0.0408 -0.1274)
OKLCHoklch(29.32% 0.134 287.8)
XYZxyz(3.9181, 2.1514, 13.5707)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1669 #526916
analogous
#162869 #2D1669 #571669
triadic
#2D1669 #692D16 #16692D
tetradic
#2D1669 #691628 #526916 #166957
square
#2D1669 #691628 #526916 #166957
split-complementary
#2D1669 #695716 #286916
monochromatic
#0B0519 #170B36 #2D1669 #43219C #582BCE

Accessibility & contrast

On white

14.68
#2D1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1669
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1669#FFFFFF#000000##FFFFFF
##2D16691.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#142D3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d1669;
/* rgb */ color: rgb(45, 22, 105);
/* oklch */ color: oklch(29.3% 0.134 287.8);
Tailwind
colors: {
  custom: {
    50: '#6e5695',
    500: '#2d1669',
    950: '#000000',
  },
}
SCSS
$custom: #2d1669;
$custom-light: #6e5695;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1669",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 256.627,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29316,
    "c": 0.13374,
    "h": 287.8
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#2D1669
secondary
#849F3B
accent
#E83FBA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2D1669

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

Preview Lab → · Contrast checker → · Palette generator →

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