#241064#241064

#241064 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.135 H 283.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#241064
RGBrgb(36, 16, 100)
HSLhsl(254, 72%, 23%)
HSVhsv(254, 84%, 39%)
CMYKcmyk(64%, 84%, 0%, 60.8%)
CIE-LABlab(13.62, 33.97, -45.36)
CIE-LCHlch(13.62, 56.67, 306.83°)
OKLaboklab(27.07% 0.0319 -0.1308)
OKLCHoklch(27.07% 0.135 283.7)
XYZxyz(3.2124, 1.6655, 12.2063)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241064 #506410
analogous
#102664 #241064 #4E1064
triadic
#241064 #642410 #106424
tetradic
#241064 #641026 #506410 #10644E
square
#241064 #641026 #506410 #10644E
split-complementary
#241064 #644E10 #266410
monochromatic
#09041A #11082F #241064 #371899 #4A21CE

Accessibility & contrast

On white

15.75
#241064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241064
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241064#FFFFFF#000000##FFFFFF
##2410641.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241064;
/* rgb */ color: rgb(36, 16, 100);
/* oklch */ color: oklch(27.1% 0.135 283.7);
Tailwind
colors: {
  custom: {
    50: '#685191',
    500: '#241064',
    950: '#000000',
  },
}
SCSS
$custom: #241064;
$custom-light: #685191;
$custom-dark: #000000;
JSON
{
  "hex": "#241064",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 254.286,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2707,
    "c": 0.13461,
    "h": 283.7
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#241064
secondary
#839D33
accent
#EF39C4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241064

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

Preview Lab → · Contrast checker → · Palette generator →

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