#241161#241161

#241161 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.9% C 0.130 H 284.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#241161
RGBrgb(36, 17, 97)
HSLhsl(254, 70%, 22%)
HSVhsv(254, 82%, 38%)
CMYKcmyk(62.9%, 82.5%, 0%, 62%)
CIE-LABlab(13.46, 32.49, -43.63)
CIE-LCHlch(13.46, 54.40, 306.67°)
OKLaboklab(26.86% 0.0322 -0.1257)
OKLCHoklch(26.86% 0.13 284.4)
XYZxyz(3.0850, 1.6388, 11.4607)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241161 #4E6111
analogous
#112661 #241161 #4C1161
triadic
#241161 #612411 #116124
tetradic
#241161 #611126 #4E6111 #11614C
square
#241161 #611126 #4E6111 #11614C
split-complementary
#241161 #614C11 #266111
monochromatic
#0A051A #11082D #241161 #371A95 #4B23C9

Accessibility & contrast

On white

15.82
#241161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#241161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241161
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241161#FFFFFF#000000##FFFFFF
##2411611.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#012839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #241161;
/* rgb */ color: rgb(36, 17, 97);
/* oklch */ color: oklch(26.9% 0.130 284.4);
Tailwind
colors: {
  custom: {
    50: '#68528f',
    500: '#241161',
    950: '#000000',
  },
}
SCSS
$custom: #241161;
$custom-light: #68528f;
$custom-dark: #000000;
JSON
{
  "hex": "#241161",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 254.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26858,
    "c": 0.12979,
    "h": 284.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#241161
secondary
#819934
accent
#ED3BC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241161

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

Preview Lab → · Contrast checker → · Palette generator →

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