#241264#241264

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

Color values

HEX#241264
RGBrgb(36, 18, 100)
HSLhsl(253, 69%, 23%)
HSVhsv(253, 82%, 39%)
CMYKcmyk(64%, 82%, 0%, 60.8%)
CIE-LABlab(13.99, 32.92, -44.76)
CIE-LCHlch(13.99, 55.56, 306.33°)
OKLaboklab(27.32% 0.0306 -0.129)
OKLCHoklch(27.32% 0.133 283.3)
XYZxyz(3.2434, 1.7276, 12.2167)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241264 #526412
analogous
#122964 #241264 #4D1264
triadic
#241264 #642412 #126424
tetradic
#241264 #641229 #526412 #12644D
square
#241264 #641229 #526412 #12644D
split-complementary
#241264 #644D12 #296412
monochromatic
#09051A #110930 #241264 #371B98 #4925CC

Accessibility & contrast

On white

15.61
#241264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241264
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241264#FFFFFF#000000##FFFFFF
##2412641.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241264;
/* rgb */ color: rgb(36, 18, 100);
/* oklch */ color: oklch(27.3% 0.133 283.3);
Tailwind
colors: {
  custom: {
    50: '#685391',
    500: '#241264',
    950: '#000000',
  },
}
SCSS
$custom: #241264;
$custom-light: #685391;
$custom-dark: #000000;
JSON
{
  "hex": "#241264",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 253.171,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27323,
    "c": 0.13262,
    "h": 283.3
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#241264
secondary
#869C36
accent
#EC3BC5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241264

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

Preview Lab → · Contrast checker → · Palette generator →

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