#241056#241056

#241056 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.117 H 288.2°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#241056
RGBrgb(36, 16, 86)
HSLhsl(257, 69%, 20%)
HSVhsv(257, 81%, 34%)
CMYKcmyk(58.1%, 81.4%, 0%, 66.3%)
CIE-LABlab(12.07, 29.50, -38.52)
CIE-LCHlch(12.07, 48.52, 307.44°)
OKLaboklab(25.52% 0.0364 -0.1108)
OKLCHoklch(25.52% 0.117 288.2)
XYZxyz(2.5921, 1.4174, 8.9393)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241056 #425610
analogous
#101F56 #241056 #471056
triadic
#241056 #562410 #105624
tetradic
#241056 #56101F #425610 #105647
square
#241056 #56101F #425610 #105647
split-complementary
#241056 #564710 #1F5610
monochromatic
#0B051A #0E0622 #241056 #3A1A8A #4F23BD

Accessibility & contrast

On white

16.36
#241056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#241056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241056
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241056#FFFFFF#000000##FFFFFF
##2410561.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#102332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241056;
/* rgb */ color: rgb(36, 16, 86);
/* oklch */ color: oklch(25.5% 0.117 288.2);
Tailwind
colors: {
  custom: {
    50: '#665186',
    500: '#241056',
    950: '#000000',
  },
}
SCSS
$custom: #241056;
$custom-light: #665186;
$custom-dark: #000000;
JSON
{
  "hex": "#241056",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 257.143,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.2552,
    "c": 0.11663,
    "h": 288.2
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#241056
secondary
#758F32
accent
#EB3CB9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241056

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

Preview Lab → · Contrast checker → · Palette generator →

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