#241A3C#241A3C

#241A3C is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.063 H 295.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#241A3C
RGBrgb(36, 26, 60)
HSLhsl(258, 40%, 17%)
HSVhsv(258, 57%, 24%)
CMYKcmyk(40%, 56.7%, 0%, 76.5%)
CIE-LABlab(12.22, 14.35, -20.24)
CIE-LCHlch(12.22, 24.81, 305.33°)
OKLaboklab(24.92% 0.0266 -0.0571)
OKLCHoklch(24.92% 0.063 295)
XYZxyz(1.9124, 1.4401, 4.4513)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A3C #323C1A
analogous
#1A213C #241A3C #351A3C
triadic
#241A3C #3C241A #1A3C24
tetradic
#241A3C #3C1A21 #323C1A #1A3C35
square
#241A3C #3C1A21 #323C1A #1A3C35
split-complementary
#241A3C #3C351A #213C1A
monochromatic
#0D0915 #0D0915 #241A3C #3E2D67 #573F91

Accessibility & contrast

On white

16.30
#241A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#241A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A3C
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A3C#FFFFFF#000000##FFFFFF
##241A3C1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E203D
Deuteranopia (green-blind)
#101F3B
Tritanopia (blue-blind)
#1E2128
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241a3c;
/* rgb */ color: rgb(36, 26, 60);
/* oklch */ color: oklch(24.9% 0.063 295.0);
Tailwind
colors: {
  custom: {
    50: '#605672',
    500: '#241a3c',
    950: '#000000',
  },
}
SCSS
$custom: #241a3c;
$custom-light: #605672;
$custom-dark: #000000;
JSON
{
  "hex": "#241a3c",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 257.647,
    "s": 39.535,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24915,
    "c": 0.06301,
    "h": 295
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#241A3C
secondary
#637240
accent
#CF58AC
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#050308
muted
#79787B

Preview Lab

Preview with #241A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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