#241164#241164

#241164 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.134 H 283.5°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#241164
RGBrgb(36, 17, 100)
HSLhsl(254, 71%, 23%)
HSVhsv(254, 83%, 39%)
CMYKcmyk(64%, 83%, 0%, 60.8%)
CIE-LABlab(13.80, 33.45, -45.07)
CIE-LCHlch(13.80, 56.13, 306.59°)
OKLaboklab(27.19% 0.0313 -0.1299)
OKLCHoklch(27.19% 0.134 283.5)
XYZxyz(3.2275, 1.6958, 12.2114)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241164 #516411
analogous
#112764 #241164 #4D1164
triadic
#241164 #642411 #116424
tetradic
#241164 #641127 #516411 #11644D
square
#241164 #641127 #516411 #11644D
split-complementary
#241164 #644D11 #276411
monochromatic
#09041A #110830 #241164 #371A98 #4A23CD

Accessibility & contrast

On white

15.68
#241164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241164
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241164#FFFFFF#000000##FFFFFF
##2411641.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241164;
/* rgb */ color: rgb(36, 17, 100);
/* oklch */ color: oklch(27.2% 0.134 283.5);
Tailwind
colors: {
  custom: {
    50: '#685291',
    500: '#241164',
    950: '#000000',
  },
}
SCSS
$custom: #241164;
$custom-light: #685291;
$custom-dark: #000000;
JSON
{
  "hex": "#241164",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 253.735,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27194,
    "c": 0.13363,
    "h": 283.5
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#241164
secondary
#859C35
accent
#EE3AC5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241164

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

Preview Lab → · Contrast checker → · Palette generator →

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