#241073#241073

#241073 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.153 H 280.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#241073
RGBrgb(36, 16, 115)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 45%)
CMYKcmyk(68.7%, 86.1%, 0%, 54.9%)
CIE-LABlab(15.40, 38.67, -52.25)
CIE-LCHlch(15.40, 65.01, 306.51°)
OKLaboklab(28.82% 0.0267 -0.1508)
OKLCHoklch(28.82% 0.153 280)
XYZxyz(4.0064, 1.9831, 16.3880)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241073 #5F7310
analogous
#102D73 #241073 #551073
triadic
#241073 #732410 #107324
tetradic
#241073 #73102D #5F7310 #107355
square
#241073 #73102D #5F7310 #107355
split-complementary
#241073 #735510 #2D7310
monochromatic
#08041B #13093D #241073 #3517A9 #461FDE

Accessibility & contrast

On white

15.04
#241073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#241073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241073
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241073#FFFFFF#000000##FFFFFF
##2410731.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#002F43
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241073;
/* rgb */ color: rgb(36, 16, 115);
/* oklch */ color: oklch(28.8% 0.153 280.0);
Tailwind
colors: {
  custom: {
    50: '#6c539c',
    500: '#241073',
    950: '#000000',
  },
}
SCSS
$custom: #241073;
$custom-light: #6c539c;
$custom-dark: #000000;
JSON
{
  "hex": "#241073",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 252.121,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28821,
    "c": 0.15318,
    "h": 280
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#241073
secondary
#93AA34
accent
#F236CC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #241073

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

Preview Lab → · Contrast checker → · Palette generator →

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