#2D203E#2D203E

#2D203E is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.4% C 0.056 H 302.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#2D203E
RGBrgb(45, 32, 62)
HSLhsl(266, 32%, 18%)
HSVhsv(266, 48%, 24%)
CMYKcmyk(27.4%, 48.4%, 0%, 75.7%)
CIE-LABlab(15.16, 13.74, -16.93)
CIE-LCHlch(15.16, 21.80, 309.07°)
OKLaboklab(27.42% 0.0305 -0.0472)
OKLCHoklch(27.42% 0.056 302.8)
XYZxyz(2.4680, 1.9387, 4.8007)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D203E #313E20
analogous
#20223E #2D203E #3C203E
triadic
#2D203E #3E2D20 #203E2D
tetradic
#2D203E #3E2022 #313E20 #203E3C
square
#2D203E #3E2022 #313E20 #203E3C
split-complementary
#2D203E #3E3C20 #223E20
monochromatic
#0F0A14 #100B16 #2D203E #4A3566 #684A8F

Accessibility & contrast

On white

15.13
#2D203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2D203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D203E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D203E#FFFFFF#000000##FFFFFF
##2D203E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#1B263D
Tritanopia (blue-blind)
#2A252C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2d203e;
/* rgb */ color: rgb(45, 32, 62);
/* oklch */ color: oklch(27.4% 0.056 302.8);
Tailwind
colors: {
  custom: {
    50: '#675b73',
    500: '#2d203e',
    950: '#000000',
  },
}
SCSS
$custom: #2d203e;
$custom-light: #675b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d203e",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 266,
    "s": 31.915,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.05619,
    "h": 302.8
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#2D203E
secondary
#607248
accent
#C8609B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D203E

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

Preview Lab → · Contrast checker → · Palette generator →

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