#241060#241060

#241060 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.130 H 284.9°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#241060
RGBrgb(36, 16, 96)
HSLhsl(255, 71%, 22%)
HSVhsv(255, 83%, 38%)
CMYKcmyk(62.5%, 83.3%, 0%, 62.4%)
CIE-LABlab(13.17, 32.70, -43.45)
CIE-LCHlch(13.17, 54.38, 306.96°)
OKLaboklab(26.62% 0.0333 -0.1252)
OKLCHoklch(26.62% 0.13 284.9)
XYZxyz(3.0235, 1.5900, 11.2116)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241060 #4C6010
analogous
#102460 #241060 #4C1060
triadic
#241060 #602410 #106024
tetradic
#241060 #601024 #4C6010 #10604C
square
#241060 #601024 #4C6010 #10604C
split-complementary
#241060 #604C10 #246010
monochromatic
#0A041A #10072C #241060 #381994 #4B21C9

Accessibility & contrast

On white

15.93
#241060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#241060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241060
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241060#FFFFFF#000000##FFFFFF
##2410601.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#032738
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241060;
/* rgb */ color: rgb(36, 16, 96);
/* oklch */ color: oklch(26.6% 0.130 284.9);
Tailwind
colors: {
  custom: {
    50: '#68518e',
    500: '#241060',
    950: '#000000',
  },
}
SCSS
$custom: #241060;
$custom-light: #68518e;
$custom-dark: #000000;
JSON
{
  "hex": "#241060",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 255,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.12955,
    "h": 284.9
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#241060
secondary
#7F9933
accent
#EE3AC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241060

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

Preview Lab → · Contrast checker → · Palette generator →

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