#241260#241260

#241260 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.127 H 284.4°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#241260
RGBrgb(36, 18, 96)
HSLhsl(254, 68%, 22%)
HSVhsv(254, 81%, 38%)
CMYKcmyk(62.5%, 81.3%, 0%, 62.4%)
CIE-LABlab(13.54, 31.62, -42.83)
CIE-LCHlch(13.54, 53.24, 306.44°)
OKLaboklab(26.88% 0.0318 -0.1234)
OKLCHoklch(26.88% 0.127 284.4)
XYZxyz(3.0545, 1.6520, 11.2220)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241260 #4E6012
analogous
#122760 #241260 #4B1260
triadic
#241260 #602412 #126024
tetradic
#241260 #601227 #4E6012 #12604B
square
#241260 #601227 #4E6012 #12604B
split-complementary
#241260 #604B12 #276012
monochromatic
#0A051A #11082C #241260 #371C94 #4B25C7

Accessibility & contrast

On white

15.78
#241260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#241260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241260
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241260#FFFFFF#000000##FFFFFF
##2412601.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#032838
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241260;
/* rgb */ color: rgb(36, 18, 96);
/* oklch */ color: oklch(26.9% 0.127 284.4);
Tailwind
colors: {
  custom: {
    50: '#67528e',
    500: '#241260',
    950: '#000000',
  },
}
SCSS
$custom: #241260;
$custom-light: #67528e;
$custom-dark: #000000;
JSON
{
  "hex": "#241260",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 253.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26879,
    "c": 0.12745,
    "h": 284.4
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#241260
secondary
#819836
accent
#EB3DC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241260

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

Preview Lab → · Contrast checker → · Palette generator →

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