#241074#241074

#241074 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.154 H 279.8°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#241074
RGBrgb(36, 16, 116)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 45%)
CMYKcmyk(69%, 86.2%, 0%, 54.5%)
CIE-LABlab(15.52, 38.98, -52.70)
CIE-LCHlch(15.52, 65.55, 306.49°)
OKLaboklab(28.94% 0.0263 -0.1521)
OKLCHoklch(28.94% 0.154 279.8)
XYZxyz(4.0642, 2.0063, 16.6927)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241074 #607410
analogous
#102E74 #241074 #561074
triadic
#241074 #742410 #107424
tetradic
#241074 #74102E #607410 #107456
square
#241074 #74102E #607410 #107456
split-complementary
#241074 #745610 #2E7410
monochromatic
#08041B #13093E #241074 #3517AA #451FE0

Accessibility & contrast

On white

14.99
#241074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241074
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241074#FFFFFF#000000##FFFFFF
##2410741.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241074;
/* rgb */ color: rgb(36, 16, 116);
/* oklch */ color: oklch(28.9% 0.154 279.8);
Tailwind
colors: {
  custom: {
    50: '#6c539d',
    500: '#241074',
    950: '#000000',
  },
}
SCSS
$custom: #241074;
$custom-light: #6c539d;
$custom-dark: #000000;
JSON
{
  "hex": "#241074",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 252,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2894,
    "c": 0.15439,
    "h": 279.8
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#241074
secondary
#94AB35
accent
#F235CD
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #241074

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

Preview Lab → · Contrast checker → · Palette generator →

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