#241A2E#241A2E

#241A2E is a very dark, muted violet. Relative luminance 0.013; OKLCH L 24.0% C 0.040 H 306.6°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#241A2E
RGBrgb(36, 26, 46)
HSLhsl(270, 28%, 14%)
HSVhsv(270, 43%, 18%)
CMYKcmyk(21.7%, 43.5%, 0%, 82%)
CIE-LABlab(11.35, 9.98, -11.54)
CIE-LCHlch(11.35, 15.26, 310.83°)
OKLaboklab(23.98% 0.0237 -0.0319)
OKLCHoklch(23.98% 0.04 306.6)
XYZxyz(1.5900, 1.3111, 2.7535)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A2E #242E1A
analogous
#1A1A2E #241A2E #2E1A2E
triadic
#241A2E #2E241A #1A2E24
tetradic
#241A2E #2E1A1A #242E1A #1A2E2E
square
#241A2E #2E1A1A #242E1A #1A2E2E
split-complementary
#241A2E #2E2E1A #1A2E1A
monochromatic
#0F0B14 #0F0B14 #241A2E #433055 #61467C

Accessibility & contrast

On white

16.64
#241A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241A2E
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A2E#FFFFFF#000000##FFFFFF
##241A2E1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#181E2D
Tritanopia (blue-blind)
#231D21
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #241a2e;
/* rgb */ color: rgb(36, 26, 46);
/* oklch */ color: oklch(24.0% 0.040 306.6);
Tailwind
colors: {
  custom: {
    50: '#5f5666',
    500: '#241a2e',
    950: '#000000',
  },
}
SCSS
$custom: #241a2e;
$custom-light: #5f5666;
$custom-dark: #000000;
JSON
{
  "hex": "#241a2e",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 270,
    "s": 27.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23977,
    "c": 0.03971,
    "h": 306.6
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#241A2E
secondary
#526242
accent
#C46494
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #241A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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