#241373#241373

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

Color values

HEX#241373
RGBrgb(36, 19, 115)
HSLhsl(251, 72%, 26%)
HSVhsv(251, 83%, 45%)
CMYKcmyk(68.7%, 83.5%, 0%, 54.9%)
CIE-LABlab(15.89, 37.23, -51.43)
CIE-LCHlch(15.89, 63.49, 305.90°)
OKLaboklab(29.16% 0.0252 -0.1485)
OKLCHoklch(29.16% 0.151 279.6)
XYZxyz(4.0540, 2.0783, 16.4038)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241373 #627313
analogous
#133273 #241373 #541373
triadic
#241373 #732413 #137324
tetradic
#241373 #731332 #627313 #137354
square
#241373 #731332 #627313 #137354
split-complementary
#241373 #735413 #327313
monochromatic
#08041A #140A3E #241373 #341CA8 #4625DB

Accessibility & contrast

On white

14.83
#241373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241373
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241373#FFFFFF#000000##FFFFFF
##2413731.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241373;
/* rgb */ color: rgb(36, 19, 115);
/* oklch */ color: oklch(29.2% 0.151 279.6);
Tailwind
colors: {
  custom: {
    50: '#6c549c',
    500: '#241373',
    950: '#000000',
  },
}
SCSS
$custom: #241373;
$custom-light: #6c549c;
$custom-dark: #000000;
JSON
{
  "hex": "#241373",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 250.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.15062,
    "h": 279.6
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#241373
secondary
#95AA38
accent
#EE39CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241373

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

Preview Lab → · Contrast checker → · Palette generator →

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