#2D2445#2D2445

#2D2445 is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.7% C 0.060 H 294.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#2D2445
RGBrgb(45, 36, 69)
HSLhsl(256, 31%, 21%)
HSVhsv(256, 48%, 27%)
CMYKcmyk(34.8%, 47.8%, 0%, 72.9%)
CIE-LABlab(16.74, 13.04, -19.30)
CIE-LCHlch(16.74, 23.29, 304.05°)
OKLaboklab(28.75% 0.0251 -0.0541)
OKLCHoklch(28.75% 0.06 294.9)
XYZxyz(2.7870, 2.2493, 5.9164)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2445 #3C4524
analogous
#242B45 #2D2445 #3D2445
triadic
#2D2445 #452D24 #24452D
tetradic
#2D2445 #45242B #3C4524 #24453D
square
#2D2445 #45242B #3C4524 #24453D
split-complementary
#2D2445 #453D24 #2B4524
monochromatic
#0D0A14 #130F1D #2D2445 #47396D #614E95

Accessibility & contrast

On white

14.48
#2D2445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2445
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2445#FFFFFF#000000##FFFFFF
##2D24451.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#1B2944
Tritanopia (blue-blind)
#282A31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2445;
/* rgb */ color: rgb(45, 36, 69);
/* oklch */ color: oklch(28.7% 0.060 294.9);
Tailwind
colors: {
  custom: {
    50: '#675e79',
    500: '#2d2445',
    950: '#000000',
  },
}
SCSS
$custom: #2d2445;
$custom-light: #675e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2445",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 69
  },
  "hsl": {
    "h": 256.364,
    "s": 31.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28749,
    "c": 0.05965,
    "h": 294.9
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#2D2445
secondary
#6C784D
accent
#C860AB
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2D2445

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

Preview Lab → · Contrast checker → · Palette generator →

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