#241163#241163

#241163 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.132 H 283.8°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#241163
RGBrgb(36, 17, 99)
HSLhsl(254, 71%, 23%)
HSVhsv(254, 83%, 39%)
CMYKcmyk(63.6%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.69, 33.13, -44.59)
CIE-LCHlch(13.69, 55.55, 306.61°)
OKLaboklab(27.08% 0.0316 -0.1285)
OKLCHoklch(27.08% 0.132 283.8)
XYZxyz(3.1794, 1.6766, 11.9580)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241163 #506311
analogous
#112763 #241163 #4D1163
triadic
#241163 #632411 #116324
tetradic
#241163 #631127 #506311 #11634D
square
#241163 #631127 #506311 #11634D
split-complementary
#241163 #634D11 #276311
monochromatic
#09041A #11082F #241163 #371A97 #4A23CB

Accessibility & contrast

On white

15.73
#241163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241163
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241163#FFFFFF#000000##FFFFFF
##2411631.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241163;
/* rgb */ color: rgb(36, 17, 99);
/* oklch */ color: oklch(27.1% 0.132 283.8);
Tailwind
colors: {
  custom: {
    50: '#685290',
    500: '#241163',
    950: '#000000',
  },
}
SCSS
$custom: #241163;
$custom-light: #685290;
$custom-dark: #000000;
JSON
{
  "hex": "#241163",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 253.902,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27082,
    "c": 0.13235,
    "h": 283.8
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#241163
secondary
#839B34
accent
#ED3AC4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241163

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

Preview Lab → · Contrast checker → · Palette generator →

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