#2D0346#2D0346

#2D0346 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.114 H 307.9°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2D0346
RGBrgb(45, 3, 70)
HSLhsl(278, 92%, 14%)
HSVhsv(278, 96%, 27%)
CMYKcmyk(35.7%, 95.7%, 0%, 72.5%)
CIE-LABlab(9.52, 32.91, -31.60)
CIE-LCHlch(9.52, 45.62, 316.17°)
OKLaboklab(23.53% 0.07 -0.09)
OKLCHoklch(23.53% 0.114 307.9)
XYZxyz(2.2200, 1.0652, 5.8818)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0346 #1C4603
analogous
#0C0346 #2D0346 #46033E
triadic
#2D0346 #462D03 #03462D
tetradic
#2D0346 #460C03 #1C4603 #033E46
square
#2D0346 #460C03 #1C4603 #033E46
split-complementary
#2D0346 #3E4603 #03460C
monochromatic
#13011D #13011D #2D0346 #530681 #7808BB

Accessibility & contrast

On white

17.31
#2D0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0346
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0346#FFFFFF#000000##FFFFFF
##2D03461.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#291626
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0346;
/* rgb */ color: rgb(45, 3, 70);
/* oklch */ color: oklch(23.5% 0.114 307.9);
Tailwind
colors: {
  custom: {
    50: '#6a4a7a',
    500: '#2d0346',
    950: '#000000',
  },
}
SCSS
$custom: #2d0346;
$custom-light: #6a4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0346",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 277.612,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2353,
    "c": 0.11398,
    "h": 307.9
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#2D0346
secondary
#45871D
accent
#FF2979
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #2D0346

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

Preview Lab → · Contrast checker → · Palette generator →

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