#2D1969#2D1969

#2D1969 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.130 H 287.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#2D1969
RGBrgb(45, 25, 105)
HSLhsl(255, 62%, 25%)
HSVhsv(255, 76%, 41%)
CMYKcmyk(57.1%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.86, 31.98, -43.30)
CIE-LCHlch(16.86, 53.83, 306.45°)
OKLaboklab(29.74% 0.0382 -0.1245)
OKLCHoklch(29.74% 0.13 287)
XYZxyz(3.9789, 2.2729, 13.5909)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1969 #556919
analogous
#192D69 #2D1969 #551969
triadic
#2D1969 #692D19 #19692D
tetradic
#2D1969 #69192D #556919 #196955
square
#2D1969 #69192D #556919 #196955
split-complementary
#2D1969 #695519 #2D6919
monochromatic
#0B0619 #180D38 #2D1969 #42259A #5731CC

Accessibility & contrast

On white

14.44
#2D1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2D1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1969
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1969#FFFFFF#000000##FFFFFF
##2D19691.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#142E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d1969;
/* rgb */ color: rgb(45, 25, 105);
/* oklch */ color: oklch(29.7% 0.130 287.0);
Tailwind
colors: {
  custom: {
    50: '#6d5895',
    500: '#2d1969',
    950: '#000000',
  },
}
SCSS
$custom: #2d1969;
$custom-light: #6d5895;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1969",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 255,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29736,
    "c": 0.13023,
    "h": 287
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#2D1969
secondary
#879F3F
accent
#E543BC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2D1969

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

Preview Lab → · Contrast checker → · Palette generator →

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