#2D1455#2D1455

#2D1455 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.110 H 295.7°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#2D1455
RGBrgb(45, 20, 85)
HSLhsl(263, 62%, 21%)
HSVhsv(263, 76%, 33%)
CMYKcmyk(47.1%, 76.5%, 0%, 66.7%)
CIE-LABlab(13.91, 28.60, -34.80)
CIE-LCHlch(13.91, 45.04, 309.42°)
OKLaboklab(27.05% 0.0478 -0.0995)
OKLCHoklch(27.05% 0.11 295.7)
XYZxyz(2.9716, 1.7140, 8.7668)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1455 #3C5514
analogous
#141B55 #2D1455 #4D1455
triadic
#2D1455 #552D14 #14552D
tetradic
#2D1455 #55141B #3C5514 #14554D
square
#2D1455 #55141B #3C5514 #14554D
split-complementary
#2D1455 #554D14 #1B5514
monochromatic
#0D0619 #130823 #2D1455 #472087 #612BB8

Accessibility & contrast

On white

15.64
#2D1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2D1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1455
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1455#FFFFFF#000000##FFFFFF
##2D14551.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#222433
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2d1455;
/* rgb */ color: rgb(45, 20, 85);
/* oklch */ color: oklch(27.0% 0.110 295.7);
Tailwind
colors: {
  custom: {
    50: '#6a5485',
    500: '#2d1455',
    950: '#000000',
  },
}
SCSS
$custom: #2d1455;
$custom-light: #6a5485;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1455",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 263.077,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27049,
    "c": 0.11043,
    "h": 295.7
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#2D1455
secondary
#6C8D38
accent
#E543A7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2D1455

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

Preview Lab → · Contrast checker → · Palette generator →

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