#241066#241066

#241066 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.137 H 283.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#241066
RGBrgb(36, 16, 102)
HSLhsl(254, 73%, 23%)
HSVhsv(254, 84%, 40%)
CMYKcmyk(64.7%, 84.3%, 0%, 60%)
CIE-LABlab(13.85, 34.60, -46.30)
CIE-LCHlch(13.85, 57.81, 306.77°)
OKLaboklab(27.3% 0.0312 -0.1335)
OKLCHoklch(27.3% 0.137 283.2)
XYZxyz(3.3104, 1.7047, 12.7224)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241066 #526610
analogous
#102766 #241066 #4F1066
triadic
#241066 #662410 #106624
tetradic
#241066 #661027 #526610 #10664F
square
#241066 #661027 #526610 #10664F
split-complementary
#241066 #664F10 #276610
monochromatic
#09041A #110831 #241066 #37189B #4921D0

Accessibility & contrast

On white

15.66
#241066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#241066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241066
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241066#FFFFFF#000000##FFFFFF
##2410661.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #241066;
/* rgb */ color: rgb(36, 16, 102);
/* oklch */ color: oklch(27.3% 0.137 283.2);
Tailwind
colors: {
  custom: {
    50: '#695293',
    500: '#241066',
    950: '#000000',
  },
}
SCSS
$custom: #241066;
$custom-light: #695293;
$custom-dark: #000000;
JSON
{
  "hex": "#241066",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 253.953,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27299,
    "c": 0.13713,
    "h": 283.2
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#241066
secondary
#869E33
accent
#F038C5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241066

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

Preview Lab → · Contrast checker → · Palette generator →

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