#241266#241266

#241266 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.135 H 282.8°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#241266
RGBrgb(36, 18, 102)
HSLhsl(253, 70%, 24%)
HSVhsv(253, 82%, 40%)
CMYKcmyk(64.7%, 82.4%, 0%, 60%)
CIE-LABlab(14.21, 33.57, -45.71)
CIE-LCHlch(14.21, 56.71, 306.29°)
OKLaboklab(27.55% 0.0299 -0.1318)
OKLCHoklch(27.55% 0.135 282.8)
XYZxyz(3.3414, 1.7668, 12.7327)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241266 #546612
analogous
#122A66 #241266 #4E1266
triadic
#241266 #662412 #126624
tetradic
#241266 #66122A #546612 #12664E
square
#241266 #66122A #546612 #12664E
split-complementary
#241266 #664E12 #2A6612
monochromatic
#09051A #120932 #241266 #361B9A #4924CE

Accessibility & contrast

On white

15.52
#241266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241266
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241266#FFFFFF#000000##FFFFFF
##2412661.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241266;
/* rgb */ color: rgb(36, 18, 102);
/* oklch */ color: oklch(27.5% 0.135 282.8);
Tailwind
colors: {
  custom: {
    50: '#695393',
    500: '#241266',
    950: '#000000',
  },
}
SCSS
$custom: #241266;
$custom-light: #695393;
$custom-dark: #000000;
JSON
{
  "hex": "#241266",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 252.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27548,
    "c": 0.13518,
    "h": 282.8
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#241266
secondary
#889E36
accent
#ED3BC7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241266

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

Preview Lab → · Contrast checker → · Palette generator →

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