#2D2645#2D2645

#2D2645 is a dark, muted violet. Relative luminance 0.024; OKLCH L 29.2% C 0.056 H 293.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#2D2645
RGBrgb(45, 38, 69)
HSLhsl(254, 29%, 21%)
HSVhsv(254, 45%, 27%)
CMYKcmyk(34.8%, 44.9%, 0%, 72.9%)
CIE-LABlab(17.34, 11.63, -18.36)
CIE-LCHlch(17.34, 21.73, 302.34°)
OKLaboklab(29.2% 0.0218 -0.0514)
OKLCHoklch(29.2% 0.056 293)
XYZxyz(2.8492, 2.3737, 5.9371)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2645 #3E4526
analogous
#262E45 #2D2645 #3C2645
triadic
#2D2645 #452D26 #26452D
tetradic
#2D2645 #45262E #3E4526 #26453C
square
#2D2645 #45262E #3E4526 #26453C
split-complementary
#2D2645 #453C26 #2E4526
monochromatic
#0D0B14 #13101E #2D2645 #473C6C #605194

Accessibility & contrast

On white

14.24
#2D2645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2D2645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2645
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2645#FFFFFF#000000##FFFFFF
##2D26451.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#1E2A44
Tritanopia (blue-blind)
#282C32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2d2645;
/* rgb */ color: rgb(45, 38, 69);
/* oklch */ color: oklch(29.2% 0.056 293.0);
Tailwind
colors: {
  custom: {
    50: '#676079',
    500: '#2d2645',
    950: '#000000',
  },
}
SCSS
$custom: #2d2645;
$custom-light: #676079;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2645",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 69
  },
  "hsl": {
    "h": 253.548,
    "s": 28.972,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29199,
    "c": 0.05582,
    "h": 293
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#2D2645
secondary
#6E784F
accent
#C563AF
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2D2645

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

Preview Lab → · Contrast checker → · Palette generator →

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