#241371#241371

#241371 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.148 H 280.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#241371
RGBrgb(36, 19, 113)
HSLhsl(251, 71%, 26%)
HSVhsv(251, 83%, 44%)
CMYKcmyk(68.1%, 83.2%, 0%, 55.7%)
CIE-LABlab(15.66, 36.59, -50.52)
CIE-LCHlch(15.66, 62.38, 305.91°)
OKLaboklab(28.93% 0.0258 -0.1459)
OKLCHoklch(28.93% 0.148 280)
XYZxyz(3.9401, 2.0328, 15.8043)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241371 #607113
analogous
#133171 #241371 #531371
triadic
#241371 #712413 #137124
tetradic
#241371 #711331 #607113 #137153
square
#241371 #711331 #607113 #137153
split-complementary
#241371 #715313 #317113
monochromatic
#08041A #130A3D #241371 #351CA5 #4525DA

Accessibility & contrast

On white

14.93
#241371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#241371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241371
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241371#FFFFFF#000000##FFFFFF
##2413711.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #241371;
/* rgb */ color: rgb(36, 19, 113);
/* oklch */ color: oklch(28.9% 0.148 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b549b',
    500: '#241371',
    950: '#000000',
  },
}
SCSS
$custom: #241371;
$custom-light: #6b549b;
$custom-dark: #000000;
JSON
{
  "hex": "#241371",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 250.851,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.14813,
    "h": 280
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#241371
secondary
#94A838
accent
#EE3ACD
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241371

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

Preview Lab → · Contrast checker → · Palette generator →

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