#241168#241168

#241168 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.139 H 282.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#241168
RGBrgb(36, 17, 104)
HSLhsl(253, 72%, 24%)
HSVhsv(253, 84%, 41%)
CMYKcmyk(65.4%, 83.7%, 0%, 59.2%)
CIE-LABlab(14.26, 34.73, -46.95)
CIE-LCHlch(14.26, 58.40, 306.49°)
OKLaboklab(27.65% 0.0299 -0.1354)
OKLCHoklch(27.65% 0.139 282.5)
XYZxyz(3.4259, 1.7752, 13.2561)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241168 #556811
analogous
#112968 #241168 #4F1168
triadic
#241168 #682411 #116824
tetradic
#241168 #681129 #556811 #11684F
square
#241168 #681129 #556811 #11684F
split-complementary
#241168 #684F11 #296811
monochromatic
#09041A #120833 #241168 #361A9D #4822D1

Accessibility & contrast

On white

15.50
#241168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#241168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241168
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241168#FFFFFF#000000##FFFFFF
##2411681.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241168;
/* rgb */ color: rgb(36, 17, 104);
/* oklch */ color: oklch(27.6% 0.139 282.5);
Tailwind
colors: {
  custom: {
    50: '#695294',
    500: '#241168',
    950: '#000000',
  },
}
SCSS
$custom: #241168;
$custom-light: #695294;
$custom-dark: #000000;
JSON
{
  "hex": "#241168",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 253.103,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27649,
    "c": 0.1387,
    "h": 282.5
  },
  "luminance": 0.01775
}

Semantic roles & 50–950 ramp

primary
#241168
secondary
#89A035
accent
#EF39C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241168

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

Preview Lab → · Contrast checker → · Palette generator →

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