#2D1046#2D1046

#2D1046 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.097 H 304.9°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#2D1046
RGBrgb(45, 16, 70)
HSLhsl(272, 63%, 17%)
HSVhsv(272, 77%, 27%)
CMYKcmyk(35.7%, 77.1%, 0%, 72.5%)
CIE-LABlab(11.76, 26.47, -27.96)
CIE-LCHlch(11.76, 38.50, 313.43°)
OKLaboklab(25.1% 0.0555 -0.0794)
OKLCHoklch(25.1% 0.097 304.9)
XYZxyz(2.3727, 1.3707, 5.9327)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1046 #294610
analogous
#121046 #2D1046 #461044
triadic
#2D1046 #462D10 #10462D
tetradic
#2D1046 #461210 #294610 #104446
square
#2D1046 #461210 #294610 #104446
split-complementary
#2D1046 #444610 #104612
monochromatic
#100619 #100619 #2D1046 #4D1B78 #6D27AA

Accessibility & contrast

On white

16.48
#2D1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1046
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1046#FFFFFF#000000##FFFFFF
##2D10461.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#281C29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d1046;
/* rgb */ color: rgb(45, 16, 70);
/* oklch */ color: oklch(25.1% 0.097 304.9);
Tailwind
colors: {
  custom: {
    50: '#69517a',
    500: '#2d1046',
    950: '#000000',
  },
}
SCSS
$custom: #2d1046;
$custom-light: #69517a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1046",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 272.222,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.251,
    "c": 0.09687,
    "h": 304.9
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#2D1046
secondary
#568032
accent
#E6428E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D1046

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

Preview Lab → · Contrast checker → · Palette generator →

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