#241A38#241A38

#241A38 is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.6% C 0.056 H 297.5°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#241A38
RGBrgb(36, 26, 56)
HSLhsl(260, 37%, 16%)
HSVhsv(260, 54%, 22%)
CMYKcmyk(35.7%, 53.6%, 0%, 78%)
CIE-LABlab(11.95, 13.05, -17.82)
CIE-LCHlch(11.95, 22.08, 306.21°)
OKLaboklab(24.63% 0.026 -0.05)
OKLCHoklch(24.63% 0.056 297.5)
XYZxyz(1.8106, 1.3994, 3.9153)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A38 #2E381A
analogous
#1A1F38 #241A38 #331A38
triadic
#241A38 #38241A #1A3824
tetradic
#241A38 #381A1F #2E381A #1A3833
square
#241A38 #381A1F #2E381A #1A3833
split-complementary
#241A38 #38331A #1F381A
monochromatic
#0D0A15 #0D0A15 #241A38 #3F2D62 #5A418C

Accessibility & contrast

On white

16.41
#241A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#241A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A38
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A38#FFFFFF#000000##FFFFFF
##241A381.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F39
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#201F26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #241a38;
/* rgb */ color: rgb(36, 26, 56);
/* oklch */ color: oklch(24.6% 0.056 297.5);
Tailwind
colors: {
  custom: {
    50: '#60566f',
    500: '#241a38',
    950: '#000000',
  },
}
SCSS
$custom: #241a38;
$custom-light: #60566f;
$custom-dark: #000000;
JSON
{
  "hex": "#241a38",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 260,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24627,
    "c": 0.05641,
    "h": 297.5
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#241A38
secondary
#5E6D41
accent
#CD5BA7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#050307
muted
#79787A

Preview Lab

Preview with #241A38

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

Preview Lab → · Contrast checker → · Palette generator →

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