#241261#241261

#241261 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.129 H 284.2°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#241261
RGBrgb(36, 18, 97)
HSLhsl(254, 69%, 23%)
HSVhsv(254, 81%, 38%)
CMYKcmyk(62.9%, 81.4%, 0%, 62%)
CIE-LABlab(13.65, 31.95, -43.32)
CIE-LCHlch(13.65, 53.83, 306.41°)
OKLaboklab(26.99% 0.0315 -0.1248)
OKLCHoklch(26.99% 0.129 284.2)
XYZxyz(3.1009, 1.6705, 11.4660)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241261 #4F6112
analogous
#122761 #241261 #4C1261
triadic
#241261 #612412 #126124
tetradic
#241261 #611227 #4F6112 #12614C
square
#241261 #611227 #4F6112 #12614C
split-complementary
#241261 #614C12 #276112
monochromatic
#0A051A #11082D #241261 #371C95 #4A25C8

Accessibility & contrast

On white

15.74
#241261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241261
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241261#FFFFFF#000000##FFFFFF
##2412611.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241261;
/* rgb */ color: rgb(36, 18, 97);
/* oklch */ color: oklch(27.0% 0.129 284.2);
Tailwind
colors: {
  custom: {
    50: '#68528f',
    500: '#241261',
    950: '#000000',
  },
}
SCSS
$custom: #241261;
$custom-light: #68528f;
$custom-dark: #000000;
JSON
{
  "hex": "#241261",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 253.671,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2699,
    "c": 0.12874,
    "h": 284.2
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#241261
secondary
#829936
accent
#EC3CC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241261

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

Preview Lab → · Contrast checker → · Palette generator →

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