#241379#241379

#241379 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.158 H 278.5°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#241379
RGBrgb(36, 19, 121)
HSLhsl(250, 73%, 27%)
HSVhsv(250, 84%, 47%)
CMYKcmyk(70.2%, 84.3%, 0%, 52.5%)
CIE-LABlab(16.61, 39.13, -54.12)
CIE-LCHlch(16.61, 66.78, 305.87°)
OKLaboklab(29.87% 0.0232 -0.1563)
OKLCHoklch(29.87% 0.158 278.5)
XYZxyz(4.4105, 2.2209, 18.2817)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241379 #687913
analogous
#133579 #241379 #571379
triadic
#241379 #792413 #137924
tetradic
#241379 #791335 #687913 #137957
square
#241379 #791335 #687913 #137957
split-complementary
#241379 #795713 #357913
monochromatic
#08041A #140B44 #241379 #341BAE #4729DD

Accessibility & contrast

On white

14.54
#241379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241379
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241379#FFFFFF#000000##FFFFFF
##2413791.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241379;
/* rgb */ color: rgb(36, 19, 121);
/* oklch */ color: oklch(29.9% 0.158 278.5);
Tailwind
colors: {
  custom: {
    50: '#6d55a1',
    500: '#241379',
    950: '#000000',
  },
}
SCSS
$custom: #241379;
$custom-light: #6d55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241379",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 250,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29866,
    "c": 0.15803,
    "h": 278.5
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#241379
secondary
#9BAF39
accent
#F038D1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241379

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

Preview Lab → · Contrast checker → · Palette generator →

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