#241057#241057

#241057 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.118 H 287.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#241057
RGBrgb(36, 16, 87)
HSLhsl(257, 69%, 20%)
HSVhsv(257, 82%, 34%)
CMYKcmyk(58.6%, 81.6%, 0%, 65.9%)
CIE-LABlab(12.18, 29.82, -39.03)
CIE-LCHlch(12.18, 49.11, 307.38°)
OKLaboklab(25.63% 0.0361 -0.1123)
OKLCHoklch(25.63% 0.118 287.8)
XYZxyz(2.6326, 1.4336, 9.1530)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241057 #435710
analogous
#102057 #241057 #471057
triadic
#241057 #572410 #105724
tetradic
#241057 #571020 #435710 #105747
square
#241057 #571020 #435710 #105747
split-complementary
#241057 #574710 #205710
monochromatic
#0B051A #0F0623 #241057 #391A8B #4F23BE

Accessibility & contrast

On white

16.32
#241057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#241057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241057
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241057#FFFFFF#000000##FFFFFF
##2410571.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#0F2433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241057;
/* rgb */ color: rgb(36, 16, 87);
/* oklch */ color: oklch(25.6% 0.118 287.8);
Tailwind
colors: {
  custom: {
    50: '#665187',
    500: '#241057',
    950: '#000000',
  },
}
SCSS
$custom: #241057;
$custom-light: #665187;
$custom-dark: #000000;
JSON
{
  "hex": "#241057",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 256.901,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25628,
    "c": 0.11793,
    "h": 287.8
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#241057
secondary
#769032
accent
#EC3CBA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241057

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

Preview Lab → · Contrast checker → · Palette generator →

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