#2D243C#2D243C

#2D243C is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.045 H 300.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#2D243C
RGBrgb(45, 36, 60)
HSLhsl(263, 25%, 19%)
HSVhsv(263, 40%, 24%)
CMYKcmyk(25%, 40%, 0%, 76.5%)
CIE-LABlab(16.23, 10.32, -13.85)
CIE-LCHlch(16.23, 17.27, 306.68°)
OKLaboklab(28.19% 0.0229 -0.0383)
OKLCHoklch(28.19% 0.045 300.8)
XYZxyz(2.5285, 2.1459, 4.5551)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D243C #333C24
analogous
#24273C #2D243C #39243C
triadic
#2D243C #3C2D24 #243C2D
tetradic
#2D243C #3C2427 #333C24 #243C39
square
#2D243C #3C2427 #333C24 #243C39
split-complementary
#2D243C #3C3924 #273C24
monochromatic
#0E0B13 #100D16 #2D243C #4A3B62 #665289

Accessibility & contrast

On white

14.69
#2D243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2D243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D243C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D243C#FFFFFF#000000##FFFFFF
##2D243C1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#2A282D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d243c;
/* rgb */ color: rgb(45, 36, 60);
/* oklch */ color: oklch(28.2% 0.045 300.8);
Tailwind
colors: {
  custom: {
    50: '#665e71',
    500: '#2d243c',
    950: '#000000',
  },
}
SCSS
$custom: #2d243c;
$custom-light: #665e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d243c",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 262.5,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28195,
    "c": 0.04466,
    "h": 300.8
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#2D243C
secondary
#626E4D
accent
#C1669F
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D243C

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

Preview Lab → · Contrast checker → · Palette generator →

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