#241166#241166

#241166 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.136 H 283.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#241166
RGBrgb(36, 17, 102)
HSLhsl(253, 71%, 23%)
HSVhsv(253, 83%, 40%)
CMYKcmyk(64.7%, 83.3%, 0%, 60%)
CIE-LABlab(14.03, 34.09, -46.01)
CIE-LCHlch(14.03, 57.27, 306.54°)
OKLaboklab(27.42% 0.0306 -0.1327)
OKLCHoklch(27.42% 0.136 283)
XYZxyz(3.3255, 1.7350, 12.7275)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241166 #536611
analogous
#112866 #241166 #4E1166
triadic
#241166 #662411 #116624
tetradic
#241166 #661128 #536611 #11664E
square
#241166 #661128 #536611 #11664E
split-complementary
#241166 #664E11 #286611
monochromatic
#09041A #110832 #241166 #371A9A #4922CF

Accessibility & contrast

On white

15.59
#241166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#241166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241166
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241166#FFFFFF#000000##FFFFFF
##2411661.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241166;
/* rgb */ color: rgb(36, 17, 102);
/* oklch */ color: oklch(27.4% 0.136 283.0);
Tailwind
colors: {
  custom: {
    50: '#695293',
    500: '#241166',
    950: '#000000',
  },
}
SCSS
$custom: #241166;
$custom-light: #695293;
$custom-dark: #000000;
JSON
{
  "hex": "#241166",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 253.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.13617,
    "h": 283
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#241166
secondary
#879E35
accent
#EE3AC6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241166

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

Preview Lab → · Contrast checker → · Palette generator →

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