#241F2E#241F2E

#241F2E is a dark, muted violet. Relative luminance 0.016; OKLCH L 25.2% C 0.029 H 299.6°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#241F2E
RGBrgb(36, 31, 46)
HSLhsl(260, 19%, 15%)
HSVhsv(260, 33%, 18%)
CMYKcmyk(21.7%, 32.6%, 0%, 82%)
CIE-LABlab(12.94, 6.30, -9.10)
CIE-LCHlch(12.94, 11.07, 304.72°)
OKLaboklab(25.19% 0.0142 -0.025)
OKLCHoklch(25.19% 0.029 299.6)
XYZxyz(1.7106, 1.5523, 2.7937)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F2E #292E1F
analogous
#1F212E #241F2E #2C1F2E
triadic
#241F2E #2E241F #1F2E24
tetradic
#241F2E #2E1F21 #292E1F #1F2E2C
square
#241F2E #2E1F21 #292E1F #1F2E2C
split-complementary
#241F2E #2E2C1F #212E1F
monochromatic
#0E0C12 #0E0C12 #241F2E #413853 #5D5077

Accessibility & contrast

On white

16.03
#241F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#241F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F2E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F2E#FFFFFF#000000##FFFFFF
##241F2E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212F
Deuteranopia (green-blind)
#1D212E
Tritanopia (blue-blind)
#222124
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #241f2e;
/* rgb */ color: rgb(36, 31, 46);
/* oklch */ color: oklch(25.2% 0.029 299.6);
Tailwind
colors: {
  custom: {
    50: '#5e5a66',
    500: '#241f2e',
    950: '#000000',
  },
}
SCSS
$custom: #241f2e;
$custom-light: #5e5a66;
$custom-dark: #000000;
JSON
{
  "hex": "#241f2e",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 260,
    "s": 19.481,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25189,
    "c": 0.02871,
    "h": 299.6
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#241F2E
secondary
#586049
accent
#BC6CA1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #241F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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