#241063#241063

#241063 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.133 H 284.0°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#241063
RGBrgb(36, 16, 99)
HSLhsl(254, 72%, 23%)
HSVhsv(254, 84%, 39%)
CMYKcmyk(63.6%, 83.8%, 0%, 61.2%)
CIE-LABlab(13.51, 33.65, -44.89)
CIE-LCHlch(13.51, 56.10, 306.86°)
OKLaboklab(26.96% 0.0323 -0.1294)
OKLCHoklch(26.96% 0.133 284)
XYZxyz(3.1643, 1.6463, 11.9530)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241063 #4F6310
analogous
#102563 #241063 #4E1063
triadic
#241063 #632410 #106324
tetradic
#241063 #631025 #4F6310 #10634E
square
#241063 #631025 #4F6310 #10634E
split-complementary
#241063 #634E10 #256310
monochromatic
#0A041A #11072E #241063 #371998 #4A21CC

Accessibility & contrast

On white

15.80
#241063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241063
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241063#FFFFFF#000000##FFFFFF
##2410631.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241063;
/* rgb */ color: rgb(36, 16, 99);
/* oklch */ color: oklch(27.0% 0.133 284.0);
Tailwind
colors: {
  custom: {
    50: '#685190',
    500: '#241063',
    950: '#000000',
  },
}
SCSS
$custom: #241063;
$custom-light: #685190;
$custom-dark: #000000;
JSON
{
  "hex": "#241063",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 254.458,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26956,
    "c": 0.13335,
    "h": 284
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#241063
secondary
#829C33
accent
#EF39C3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241063

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

Preview Lab → · Contrast checker → · Palette generator →

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