#241372#241372

#241372 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.149 H 279.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#241372
RGBrgb(36, 19, 114)
HSLhsl(251, 71%, 26%)
HSVhsv(251, 83%, 45%)
CMYKcmyk(68.4%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.78, 36.91, -50.98)
CIE-LCHlch(15.78, 62.94, 305.90°)
OKLaboklab(29.05% 0.0255 -0.1472)
OKLCHoklch(29.05% 0.149 279.8)
XYZxyz(3.9967, 2.0554, 16.1024)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241372 #617213
analogous
#133172 #241372 #531372
triadic
#241372 #722413 #137224
tetradic
#241372 #721331 #617213 #137253
square
#241372 #721331 #617213 #137253
split-complementary
#241372 #725313 #317213
monochromatic
#08041A #130A3E #241372 #351CA6 #4525DB

Accessibility & contrast

On white

14.88
#241372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241372
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241372#FFFFFF#000000##FFFFFF
##2413721.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241372;
/* rgb */ color: rgb(36, 19, 114);
/* oklch */ color: oklch(29.0% 0.149 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b549c',
    500: '#241372',
    950: '#000000',
  },
}
SCSS
$custom: #241372;
$custom-light: #6b549c;
$custom-dark: #000000;
JSON
{
  "hex": "#241372",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 250.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29046,
    "c": 0.14937,
    "h": 279.8
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#241372
secondary
#94A938
accent
#EE3ACE
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241372

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

Preview Lab → · Contrast checker → · Palette generator →

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