#241374#241374

#241374 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.152 H 279.4°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#241374
RGBrgb(36, 19, 116)
HSLhsl(251, 72%, 26%)
HSVhsv(251, 84%, 45%)
CMYKcmyk(69%, 83.6%, 0%, 54.5%)
CIE-LABlab(16.01, 37.55, -51.88)
CIE-LCHlch(16.01, 64.04, 305.89°)
OKLaboklab(29.28% 0.0249 -0.1498)
OKLCHoklch(29.28% 0.152 279.4)
XYZxyz(4.1118, 2.1014, 16.7085)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241374 #637413
analogous
#133374 #241374 #551374
triadic
#241374 #742413 #137424
tetradic
#241374 #741333 #637413 #137455
square
#241374 #741333 #637413 #137455
split-complementary
#241374 #745513 #337413
monochromatic
#08041A #140A3F #241374 #341CA9 #4626DB

Accessibility & contrast

On white

14.78
#241374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241374
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241374#FFFFFF#000000##FFFFFF
##2413741.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241374;
/* rgb */ color: rgb(36, 19, 116);
/* oklch */ color: oklch(29.3% 0.152 279.4);
Tailwind
colors: {
  custom: {
    50: '#6c549d',
    500: '#241374',
    950: '#000000',
  },
}
SCSS
$custom: #241374;
$custom-light: #6c549d;
$custom-dark: #000000;
JSON
{
  "hex": "#241374",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 250.515,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29279,
    "c": 0.15187,
    "h": 279.4
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#241374
secondary
#96AA38
accent
#EF39CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241374

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

Preview Lab → · Contrast checker → · Palette generator →

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