#241472#241472

#241472 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.148 H 279.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#241472
RGBrgb(36, 20, 114)
HSLhsl(250, 70%, 26%)
HSVhsv(250, 82%, 45%)
CMYKcmyk(68.4%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.95, 36.39, -50.69)
CIE-LCHlch(15.95, 62.40, 305.68°)
OKLaboklab(29.17% 0.0249 -0.1463)
OKLCHoklch(29.17% 0.148 279.7)
XYZxyz(4.0140, 2.0900, 16.1082)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241472 #627214
analogous
#143372 #241472 #531472
triadic
#241472 #722414 #147224
tetradic
#241472 #721433 #627214 #147253
square
#241472 #721433 #627214 #147253
split-complementary
#241472 #725314 #337214
monochromatic
#08051A #140B3E #241472 #341DA6 #4627D9

Accessibility & contrast

On white

14.81
#241472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#241472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241472
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241472#FFFFFF#000000##FFFFFF
##2414721.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241472;
/* rgb */ color: rgb(36, 20, 114);
/* oklch */ color: oklch(29.2% 0.148 279.7);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#241472',
    950: '#000000',
  },
}
SCSS
$custom: #241472;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#241472",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 250.213,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29169,
    "c": 0.14846,
    "h": 279.7
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#241472
secondary
#95A839
accent
#ED3BCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241472

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

Preview Lab → · Contrast checker → · Palette generator →

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