#241165#241165

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

Color values

HEX#241165
RGBrgb(36, 17, 101)
HSLhsl(254, 71%, 23%)
HSVhsv(254, 83%, 40%)
CMYKcmyk(64.4%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.92, 33.77, -45.54)
CIE-LCHlch(13.92, 56.70, 306.56°)
OKLaboklab(27.31% 0.0309 -0.1313)
OKLCHoklch(27.31% 0.135 283.3)
XYZxyz(3.2762, 1.7153, 12.4678)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241165 #526511
analogous
#112865 #241165 #4E1165
triadic
#241165 #652411 #116524
tetradic
#241165 #651128 #526511 #11654E
square
#241165 #651128 #526511 #11654E
split-complementary
#241165 #654E11 #286511
monochromatic
#09041A #110831 #241165 #371A99 #4923CE

Accessibility & contrast

On white

15.63
#241165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241165
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241165#FFFFFF#000000##FFFFFF
##2411651.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241165;
/* rgb */ color: rgb(36, 17, 101);
/* oklch */ color: oklch(27.3% 0.135 283.3);
Tailwind
colors: {
  custom: {
    50: '#695292',
    500: '#241165',
    950: '#000000',
  },
}
SCSS
$custom: #241165;
$custom-light: #695292;
$custom-dark: #000000;
JSON
{
  "hex": "#241165",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 253.571,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27308,
    "c": 0.1349,
    "h": 283.3
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#241165
secondary
#869D35
accent
#EE3AC5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241165

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

Preview Lab → · Contrast checker → · Palette generator →

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