#241071#241071

#241071 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.6% C 0.151 H 280.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#241071
RGBrgb(36, 16, 113)
HSLhsl(252, 75%, 25%)
HSVhsv(252, 86%, 44%)
CMYKcmyk(68.1%, 85.8%, 0%, 55.7%)
CIE-LABlab(15.16, 38.05, -51.35)
CIE-LCHlch(15.16, 63.92, 306.54°)
OKLaboklab(28.58% 0.0274 -0.1482)
OKLCHoklch(28.58% 0.151 280.5)
XYZxyz(3.8925, 1.9376, 15.7884)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241071 #5D7110
analogous
#102C71 #241071 #541071
triadic
#241071 #712410 #107124
tetradic
#241071 #71102C #5D7110 #107154
square
#241071 #71102C #5D7110 #107154
split-complementary
#241071 #715410 #2C7110
monochromatic
#09041B #13083B #241071 #3518A7 #461FDC

Accessibility & contrast

On white

15.13
#241071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#241071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241071
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241071#FFFFFF#000000##FFFFFF
##2410711.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#002E42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241071;
/* rgb */ color: rgb(36, 16, 113);
/* oklch */ color: oklch(28.6% 0.151 280.5);
Tailwind
colors: {
  custom: {
    50: '#6b529b',
    500: '#241071',
    950: '#000000',
  },
}
SCSS
$custom: #241071;
$custom-light: #6b529b;
$custom-dark: #000000;
JSON
{
  "hex": "#241071",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 252.371,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.15074,
    "h": 280.5
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#241071
secondary
#91A934
accent
#F236CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #241071

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

Preview Lab → · Contrast checker → · Palette generator →

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