#241248#241248

#241248 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.095 H 293.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#241248
RGBrgb(36, 18, 72)
HSLhsl(260, 60%, 18%)
HSVhsv(260, 75%, 28%)
CMYKcmyk(50%, 75%, 0%, 71.8%)
CIE-LABlab(11.10, 23.77, -30.48)
CIE-LCHlch(11.10, 38.65, 307.95°)
OKLaboklab(24.4% 0.0377 -0.0872)
OKLCHoklch(24.4% 0.095 293.4)
XYZxyz(2.1132, 1.2755, 6.2645)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241248 #364812
analogous
#121B48 #241248 #3F1248
triadic
#241248 #482412 #124824
tetradic
#241248 #48121B #364812 #12483F
square
#241248 #48121B #364812 #12483F
split-complementary
#241248 #483F12 #1B4812
monochromatic
#0C0618 #0C0618 #241248 #3C1E79 #552AAA

Accessibility & contrast

On white

16.73
#241248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#241248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241248
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241248#FFFFFF#000000##FFFFFF
##2412481.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#1A1F2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #241248;
/* rgb */ color: rgb(36, 18, 72);
/* oklch */ color: oklch(24.4% 0.095 293.4);
Tailwind
colors: {
  custom: {
    50: '#63517b',
    500: '#241248',
    950: '#000000',
  },
}
SCSS
$custom: #241248;
$custom-light: #63517b;
$custom-dark: #000000;
JSON
{
  "hex": "#241248",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24402,
    "c": 0.09501,
    "h": 293.4
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#241248
secondary
#688135
accent
#E345AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #241248

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

Preview Lab → · Contrast checker → · Palette generator →

#241248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva