#241568#241568

#241568 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.135 H 281.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#241568
RGBrgb(36, 21, 104)
HSLhsl(251, 66%, 25%)
HSVhsv(251, 80%, 41%)
CMYKcmyk(65.4%, 79.8%, 0%, 59.2%)
CIE-LABlab(15.01, 32.58, -45.71)
CIE-LCHlch(15.01, 56.13, 305.47°)
OKLaboklab(28.17% 0.0272 -0.1319)
OKLCHoklch(28.17% 0.135 281.7)
XYZxyz(3.4936, 1.9106, 13.2787)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241568 #596815
analogous
#153068 #241568 #4E1568
triadic
#241568 #682415 #156824
tetradic
#241568 #681530 #596815 #15684E
square
#241568 #681530 #596815 #15684E
split-complementary
#241568 #684E15 #306815
monochromatic
#090519 #120B35 #241568 #361F9B #472ACE

Accessibility & contrast

On white

15.19
#241568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#241568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241568
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241568#FFFFFF#000000##FFFFFF
##2415681.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241568;
/* rgb */ color: rgb(36, 21, 104);
/* oklch */ color: oklch(28.2% 0.135 281.7);
Tailwind
colors: {
  custom: {
    50: '#695594',
    500: '#241568',
    950: '#000000',
  },
}
SCSS
$custom: #241568;
$custom-light: #695594;
$custom-dark: #000000;
JSON
{
  "hex": "#241568",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 250.843,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28174,
    "c": 0.13464,
    "h": 281.7
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#241568
secondary
#8D9F3A
accent
#E93ECA
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241568

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

Preview Lab → · Contrast checker → · Palette generator →

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