#241174#241174

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

Color values

HEX#241174
RGBrgb(36, 17, 116)
HSLhsl(252, 74%, 26%)
HSVhsv(252, 85%, 45%)
CMYKcmyk(69%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.68, 38.52, -52.43)
CIE-LCHlch(15.68, 65.06, 306.30°)
OKLaboklab(29.05% 0.0259 -0.1514)
OKLCHoklch(29.05% 0.154 279.7)
XYZxyz(4.0794, 2.0366, 16.6977)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241174 #617411
analogous
#112F74 #241174 #551174
triadic
#241174 #742411 #117424
tetradic
#241174 #74112F #617411 #117455
square
#241174 #74112F #617411 #117455
split-complementary
#241174 #745511 #2F7411
monochromatic
#08041B #13093F #241174 #3519A9 #4521DE

Accessibility & contrast

On white

14.92
#241174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#241174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241174
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241174#FFFFFF#000000##FFFFFF
##2411741.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241174;
/* rgb */ color: rgb(36, 17, 116);
/* oklch */ color: oklch(29.0% 0.154 279.7);
Tailwind
colors: {
  custom: {
    50: '#6c539d',
    500: '#241174',
    950: '#000000',
  },
}
SCSS
$custom: #241174;
$custom-light: #6c539d;
$custom-dark: #000000;
JSON
{
  "hex": "#241174",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 251.515,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29049,
    "c": 0.15358,
    "h": 279.7
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#241174
secondary
#94AB36
accent
#F137CD
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #241174

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

Preview Lab → · Contrast checker → · Palette generator →

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