#2D1044#2D1044

#2D1044 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.094 H 306.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#2D1044
RGBrgb(45, 16, 68)
HSLhsl(273, 62%, 16%)
HSVhsv(273, 76%, 27%)
CMYKcmyk(33.8%, 76.5%, 0%, 73.3%)
CIE-LABlab(11.59, 25.91, -26.83)
CIE-LCHlch(11.59, 37.30, 314.00°)
OKLaboklab(24.93% 0.0558 -0.0761)
OKLCHoklch(24.93% 0.094 306.2)
XYZxyz(2.3106, 1.3458, 5.6058)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1044 #274410
analogous
#131044 #2D1044 #441041
triadic
#2D1044 #442D10 #10442D
tetradic
#2D1044 #441310 #274410 #104144
square
#2D1044 #441310 #274410 #104144
split-complementary
#2D1044 #414410 #104413
monochromatic
#100619 #100619 #2D1044 #4E1C76 #6F27A7

Accessibility & contrast

On white

16.55
#2D1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1044
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1044#FFFFFF#000000##FFFFFF
##2D10441.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#291C28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d1044;
/* rgb */ color: rgb(45, 16, 68);
/* oklch */ color: oklch(24.9% 0.094 306.2);
Tailwind
colors: {
  custom: {
    50: '#695178',
    500: '#2d1044',
    950: '#000000',
  },
}
SCSS
$custom: #2d1044;
$custom-light: #695178;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1044",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 273.462,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24926,
    "c": 0.09434,
    "h": 306.2
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#2D1044
secondary
#547E32
accent
#E5438B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D1044

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

Preview Lab → · Contrast checker → · Palette generator →

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