#2D243F#2D243F

#2D243F is a dark, muted violet. Relative luminance 0.022; OKLCH L 28.4% C 0.050 H 298.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#2D243F
RGBrgb(45, 36, 63)
HSLhsl(260, 27%, 19%)
HSVhsv(260, 43%, 25%)
CMYKcmyk(28.6%, 42.9%, 0%, 75.3%)
CIE-LABlab(16.40, 11.21, -15.69)
CIE-LCHlch(16.40, 19.28, 305.54°)
OKLaboklab(28.37% 0.0237 -0.0436)
OKLCHoklch(28.37% 0.05 298.5)
XYZxyz(2.6101, 2.1785, 4.9846)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D243F #363F24
analogous
#24293F #2D243F #3B243F
triadic
#2D243F #3F2D24 #243F2D
tetradic
#2D243F #3F2429 #363F24 #243F3B
square
#2D243F #3F2429 #363F24 #243F3B
split-complementary
#2D243F #3F3B24 #293F24
monochromatic
#0E0B13 #110E18 #2D243F #493A66 #65518D

Accessibility & contrast

On white

14.63
#2D243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D243F
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D243F#FFFFFF#000000##FFFFFF
##2D243F1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#1F283E
Tritanopia (blue-blind)
#2A292E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d243f;
/* rgb */ color: rgb(45, 36, 63);
/* oklch */ color: oklch(28.4% 0.050 298.5);
Tailwind
colors: {
  custom: {
    50: '#665e74',
    500: '#2d243f',
    950: '#000000',
  },
}
SCSS
$custom: #2d243f;
$custom-light: #665e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d243f",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 260,
    "s": 27.273,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28372,
    "c": 0.04967,
    "h": 298.5
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#2D243F
secondary
#65724D
accent
#C464A4
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2D243F

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

Preview Lab → · Contrast checker → · Palette generator →

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