#241160#241160

#241160 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.129 H 284.7°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#241160
RGBrgb(36, 17, 96)
HSLhsl(254, 70%, 22%)
HSVhsv(254, 82%, 38%)
CMYKcmyk(62.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(13.35, 32.17, -43.15)
CIE-LCHlch(13.35, 53.82, 306.71°)
OKLaboklab(26.75% 0.0325 -0.1243)
OKLCHoklch(26.75% 0.129 284.7)
XYZxyz(3.0387, 1.6203, 11.2167)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241160 #4D6011
analogous
#112660 #241160 #4C1160
triadic
#241160 #602411 #116024
tetradic
#241160 #601126 #4D6011 #11604C
square
#241160 #601126 #4D6011 #11604C
split-complementary
#241160 #604C11 #266011
monochromatic
#0A051A #11082C #241160 #371A94 #4B23C8

Accessibility & contrast

On white

15.86
#241160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#241160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241160
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241160#FFFFFF#000000##FFFFFF
##2411601.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#032838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241160;
/* rgb */ color: rgb(36, 17, 96);
/* oklch */ color: oklch(26.7% 0.129 284.7);
Tailwind
colors: {
  custom: {
    50: '#67528e',
    500: '#241160',
    950: '#000000',
  },
}
SCSS
$custom: #241160;
$custom-light: #67528e;
$custom-dark: #000000;
JSON
{
  "hex": "#241160",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 254.43,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26746,
    "c": 0.12851,
    "h": 284.7
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#241160
secondary
#809934
accent
#ED3BC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241160

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

Preview Lab → · Contrast checker → · Palette generator →

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