#241058#241058

#241058 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.119 H 287.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#241058
RGBrgb(36, 16, 88)
HSLhsl(257, 69%, 20%)
HSVhsv(257, 82%, 35%)
CMYKcmyk(59.1%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.29, 30.14, -39.53)
CIE-LCHlch(12.29, 49.71, 307.33°)
OKLaboklab(25.74% 0.0358 -0.1137)
OKLCHoklch(25.74% 0.119 287.5)
XYZxyz(2.6738, 1.4501, 9.3696)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241058 #445810
analogous
#102058 #241058 #481058
triadic
#241058 #582410 #105824
tetradic
#241058 #581020 #445810 #105848
square
#241058 #581020 #445810 #105848
split-complementary
#241058 #584810 #205810
monochromatic
#0B051A #0F0724 #241058 #39198C #4E23C0

Accessibility & contrast

On white

16.28
#241058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241058
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241058#FFFFFF#000000##FFFFFF
##2410581.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#0E2433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241058;
/* rgb */ color: rgb(36, 16, 88);
/* oklch */ color: oklch(25.7% 0.119 287.5);
Tailwind
colors: {
  custom: {
    50: '#665188',
    500: '#241058',
    950: '#000000',
  },
}
SCSS
$custom: #241058;
$custom-light: #665188;
$custom-dark: #000000;
JSON
{
  "hex": "#241058",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 256.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25736,
    "c": 0.11924,
    "h": 287.5
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#241058
secondary
#779132
accent
#EC3CBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241058

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

Preview Lab → · Contrast checker → · Palette generator →

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