#241561#241561

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

Color values

HEX#241561
RGBrgb(36, 21, 97)
HSLhsl(252, 64%, 23%)
HSVhsv(252, 78%, 38%)
CMYKcmyk(62.9%, 78.4%, 0%, 62%)
CIE-LABlab(14.26, 30.24, -42.33)
CIE-LCHlch(14.26, 52.02, 305.54°)
OKLaboklab(27.41% 0.0291 -0.122)
OKLCHoklch(27.41% 0.125 283.4)
XYZxyz(3.1527, 1.7743, 11.4833)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241561 #526115
analogous
#152C61 #241561 #4A1561
triadic
#241561 #612415 #156124
tetradic
#241561 #61152C #526115 #15614A
square
#241561 #61152C #526115 #15614A
split-complementary
#241561 #614A15 #2C6115
monochromatic
#090519 #110A2F #241561 #372093 #492BC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##241561#FFFFFF#000000##FFFFFF
##2415611.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#012A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241561;
/* rgb */ color: rgb(36, 21, 97);
/* oklch */ color: oklch(27.4% 0.125 283.4);
Tailwind
colors: {
  custom: {
    50: '#67548f',
    500: '#241561',
    950: '#000000',
  },
}
SCSS
$custom: #241561;
$custom-light: #67548f;
$custom-dark: #000000;
JSON
{
  "hex": "#241561",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 251.842,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27413,
    "c": 0.1254,
    "h": 283.4
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#241561
secondary
#86983A
accent
#E740C6
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #241561

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

Preview Lab → · Contrast checker → · Palette generator →

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