#241148#241148

#241148 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.096 H 293.8°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#241148
RGBrgb(36, 17, 72)
HSLhsl(261, 62%, 17%)
HSVhsv(261, 76%, 28%)
CMYKcmyk(50%, 76.4%, 0%, 71.8%)
CIE-LABlab(10.88, 24.40, -30.85)
CIE-LCHlch(10.88, 39.33, 308.34°)
OKLaboklab(24.24% 0.0389 -0.0883)
OKLCHoklch(24.24% 0.096 293.8)
XYZxyz(2.0974, 1.2438, 6.2592)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241148 #354811
analogous
#111A48 #241148 #3F1148
triadic
#241148 #482411 #114824
tetradic
#241148 #48111A #354811 #11483F
square
#241148 #48111A #354811 #11483F
split-complementary
#241148 #483F11 #1A4811
monochromatic
#0C0619 #0C0619 #241148 #3D1D7A #5628AB

Accessibility & contrast

On white

16.82
#241148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#241148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241148
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241148#FFFFFF#000000##FFFFFF
##2411481.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241148;
/* rgb */ color: rgb(36, 17, 72);
/* oklch */ color: oklch(24.2% 0.096 293.8);
Tailwind
colors: {
  custom: {
    50: '#63507b',
    500: '#241148',
    950: '#000000',
  },
}
SCSS
$custom: #241148;
$custom-light: #63507b;
$custom-dark: #000000;
JSON
{
  "hex": "#241148",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 260.727,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2424,
    "c": 0.09648,
    "h": 293.8
  },
  "luminance": 0.01244
}

Semantic roles & 50–950 ramp

primary
#241148
secondary
#668233
accent
#E543AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #241148

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

Preview Lab → · Contrast checker → · Palette generator →

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