#241560#241560

#241560 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.3% C 0.124 H 283.7°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#241560
RGBrgb(36, 21, 96)
HSLhsl(252, 64%, 23%)
HSVhsv(252, 78%, 38%)
CMYKcmyk(62.5%, 78.1%, 0%, 62.4%)
CIE-LABlab(14.15, 29.91, -41.84)
CIE-LCHlch(14.15, 51.43, 305.56°)
OKLaboklab(27.31% 0.0294 -0.1205)
OKLCHoklch(27.31% 0.124 283.7)
XYZxyz(3.1064, 1.7557, 11.2393)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241560 #516015
analogous
#152B60 #241560 #491560
triadic
#241560 #602415 #156024
tetradic
#241560 #60152B #516015 #156049
square
#241560 #60152B #516015 #156049
split-complementary
#241560 #604915 #2B6015
monochromatic
#090519 #110A2E #241560 #372092 #4A2BC4

Accessibility & contrast

On white

15.54
#241560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241560
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241560#FFFFFF#000000##FFFFFF
##2415601.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#022A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241560;
/* rgb */ color: rgb(36, 21, 96);
/* oklch */ color: oklch(27.3% 0.124 283.7);
Tailwind
colors: {
  custom: {
    50: '#67548e',
    500: '#241560',
    950: '#000000',
  },
}
SCSS
$custom: #241560;
$custom-light: #67548e;
$custom-dark: #000000;
JSON
{
  "hex": "#241560",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 252,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27306,
    "c": 0.12406,
    "h": 283.7
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#241560
secondary
#85973A
accent
#E741C6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #241560

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

Preview Lab → · Contrast checker → · Palette generator →

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