#241C38#241C38

#241C38 is a dark, muted violet. Relative luminance 0.015; OKLCH L 25.1% C 0.052 H 295.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#241C38
RGBrgb(36, 28, 56)
HSLhsl(257, 33%, 16%)
HSVhsv(257, 50%, 22%)
CMYKcmyk(35.7%, 50%, 0%, 78%)
CIE-LABlab(12.55, 11.59, -16.87)
CIE-LCHlch(12.55, 20.47, 304.48°)
OKLaboklab(25.08% 0.0226 -0.0473)
OKLCHoklch(25.08% 0.052 295.5)
XYZxyz(1.8564, 1.4911, 3.9306)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C38 #30381C
analogous
#1C2238 #241C38 #321C38
triadic
#241C38 #38241C #1C3824
tetradic
#241C38 #381C22 #30381C #1C3832
square
#241C38 #381C22 #30381C #1C3832
split-complementary
#241C38 #38321C #22381C
monochromatic
#0D0A14 #0D0A14 #241C38 #3E3061 #58458A

Accessibility & contrast

On white

16.18
#241C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#241C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241C38
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C38#FFFFFF#000000##FFFFFF
##241C381.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142139
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#202127
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #241c38;
/* rgb */ color: rgb(36, 28, 56);
/* oklch */ color: oklch(25.1% 0.052 295.5);
Tailwind
colors: {
  custom: {
    50: '#5f586e',
    500: '#241c38',
    950: '#000000',
  },
}
SCSS
$custom: #241c38;
$custom-light: #5f586e;
$custom-dark: #000000;
JSON
{
  "hex": "#241c38",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 257.143,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25077,
    "c": 0.05242,
    "h": 295.5
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#241C38
secondary
#616C43
accent
#C95EAB
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#050307
muted
#79787A

Preview Lab

Preview with #241C38

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

Preview Lab → · Contrast checker → · Palette generator →

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