#241474#241474

#241474 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.151 H 279.3°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#241474
RGBrgb(36, 20, 116)
HSLhsl(250, 71%, 27%)
HSVhsv(250, 83%, 45%)
CMYKcmyk(69%, 82.8%, 0%, 54.5%)
CIE-LABlab(16.19, 37.04, -51.60)
CIE-LCHlch(16.19, 63.51, 305.67°)
OKLaboklab(29.4% 0.0243 -0.149)
OKLCHoklch(29.4% 0.151 279.3)
XYZxyz(4.1291, 2.1360, 16.7143)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241474 #647414
analogous
#143474 #241474 #541474
triadic
#241474 #742414 #147424
tetradic
#241474 #741434 #647414 #147454
square
#241474 #741434 #647414 #147454
split-complementary
#241474 #745414 #347414
monochromatic
#08051A #140B40 #241474 #341DA8 #4628DA

Accessibility & contrast

On white

14.71
#241474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#241474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241474
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241474#FFFFFF#000000##FFFFFF
##2414741.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241474;
/* rgb */ color: rgb(36, 20, 116);
/* oklch */ color: oklch(29.4% 0.151 279.3);
Tailwind
colors: {
  custom: {
    50: '#6c559d',
    500: '#241474',
    950: '#000000',
  },
}
SCSS
$custom: #241474;
$custom-light: #6c559d;
$custom-dark: #000000;
JSON
{
  "hex": "#241474",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 250,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.294,
    "c": 0.15096,
    "h": 279.3
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#241474
secondary
#97AA3A
accent
#ED3AD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241474

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

Preview Lab → · Contrast checker → · Palette generator →

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