#241563#241563

#241563 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.128 H 282.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#241563
RGBrgb(36, 21, 99)
HSLhsl(252, 65%, 24%)
HSVhsv(252, 79%, 39%)
CMYKcmyk(63.6%, 78.8%, 0%, 61.2%)
CIE-LABlab(14.47, 30.91, -43.31)
CIE-LCHlch(14.47, 53.21, 305.52°)
OKLaboklab(27.63% 0.0286 -0.1248)
OKLCHoklch(27.63% 0.128 282.9)
XYZxyz(3.2472, 1.8120, 11.9806)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241563 #546315
analogous
#152D63 #241563 #4B1563
triadic
#241563 #632415 #156324
tetradic
#241563 #63152D #546315 #15634B
square
#241563 #63152D #546315 #15634B
split-complementary
#241563 #634B15 #2D6315
monochromatic
#090519 #120A31 #241563 #362095 #492AC8

Accessibility & contrast

On white

15.41
#241563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#241563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241563
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241563#FFFFFF#000000##FFFFFF
##2415631.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #241563;
/* rgb */ color: rgb(36, 21, 99);
/* oklch */ color: oklch(27.6% 0.128 282.9);
Tailwind
colors: {
  custom: {
    50: '#685490',
    500: '#241563',
    950: '#000000',
  },
}
SCSS
$custom: #241563;
$custom-light: #685490;
$custom-dark: #000000;
JSON
{
  "hex": "#241563",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 251.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27628,
    "c": 0.12806,
    "h": 282.9
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#241563
secondary
#889A3A
accent
#E840C8
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #241563

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

Preview Lab → · Contrast checker → · Palette generator →

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