#241A2C#241A2C

#241A2C is a very dark, muted violet. Relative luminance 0.013; OKLCH L 23.9% C 0.036 H 309.2°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#241A2C
RGBrgb(36, 26, 44)
HSLhsl(273, 26%, 14%)
HSVhsv(273, 41%, 17%)
CMYKcmyk(18.2%, 40.9%, 0%, 82.7%)
CIE-LABlab(11.25, 9.40, -10.25)
CIE-LCHlch(11.25, 13.91, 312.51°)
OKLaboklab(23.86% 0.023 -0.0282)
OKLCHoklch(23.86% 0.036 309.2)
XYZxyz(1.5515, 1.2957, 2.5507)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A2C #222C1A
analogous
#1B1A2C #241A2C #2C1A2B
triadic
#241A2C #2C241A #1A2C24
tetradic
#241A2C #2C1B1A #222C1A #1A2B2C
square
#241A2C #2C1B1A #222C1A #1A2B2C
split-complementary
#241A2C #2B2C1A #1A2C1B
monochromatic
#100B13 #100B13 #241A2C #433152 #634779

Accessibility & contrast

On white

16.68
#241A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#241A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A2C
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A2C#FFFFFF#000000##FFFFFF
##241A2C1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2D
Deuteranopia (green-blind)
#191E2B
Tritanopia (blue-blind)
#231D21
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #241a2c;
/* rgb */ color: rgb(36, 26, 44);
/* oklch */ color: oklch(23.9% 0.036 309.2);
Tailwind
colors: {
  custom: {
    50: '#5f5665',
    500: '#241a2c',
    950: '#000000',
  },
}
SCSS
$custom: #241a2c;
$custom-light: #5f5665;
$custom-dark: #000000;
JSON
{
  "hex": "#241a2c",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 273.333,
    "s": 25.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23859,
    "c": 0.03641,
    "h": 309.2
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#241A2C
secondary
#4F5F42
accent
#C2668F
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #241A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#241A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva