#2D243B#2D243B

#2D243B is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.1% C 0.043 H 301.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2D243B
RGBrgb(45, 36, 59)
HSLhsl(263, 24%, 19%)
HSVhsv(263, 39%, 23%)
CMYKcmyk(23.7%, 39%, 0%, 76.9%)
CIE-LABlab(16.18, 10.03, -13.23)
CIE-LCHlch(16.18, 16.60, 307.15°)
OKLaboklab(28.14% 0.0226 -0.0366)
OKLCHoklch(28.14% 0.043 301.7)
XYZxyz(2.5023, 2.1354, 4.4172)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D243B #323B24
analogous
#24263B #2D243B #38243B
triadic
#2D243B #3B2D24 #243B2D
tetradic
#2D243B #3B2426 #323B24 #243B38
square
#2D243B #3B2426 #323B24 #243B38
split-complementary
#2D243B #3B3824 #263B24
monochromatic
#0E0C13 #100D15 #2D243B #4A3B61 #675287

Accessibility & contrast

On white

14.72
#2D243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D243B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D243B#FFFFFF#000000##FFFFFF
##2D243B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#2B282C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d243b;
/* rgb */ color: rgb(45, 36, 59);
/* oklch */ color: oklch(28.1% 0.043 301.7);
Tailwind
colors: {
  custom: {
    50: '#665e71',
    500: '#2d243b',
    950: '#000000',
  },
}
SCSS
$custom: #2d243b;
$custom-light: #665e71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d243b",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 263.478,
    "s": 24.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.04299,
    "h": 301.7
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#2D243B
secondary
#616D4E
accent
#C1679E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2D243B

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

Preview Lab → · Contrast checker → · Palette generator →

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