#241362#241362

#241362 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.129 H 283.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#241362
RGBrgb(36, 19, 98)
HSLhsl(253, 68%, 23%)
HSVhsv(253, 81%, 38%)
CMYKcmyk(63.3%, 80.6%, 0%, 61.6%)
CIE-LABlab(13.96, 31.72, -43.48)
CIE-LCHlch(13.96, 53.83, 306.11°)
OKLaboklab(27.24% 0.0304 -0.1253)
OKLCHoklch(27.24% 0.129 283.6)
XYZxyz(3.1644, 1.7224, 11.7186)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241362 #516213
analogous
#132A62 #241362 #4B1362
triadic
#241362 #622413 #136224
tetradic
#241362 #62132A #516213 #13624B
square
#241362 #62132A #516213 #13624B
split-complementary
#241362 #624B13 #2A6213
monochromatic
#09051A #11092F #241362 #371D95 #4A27C9

Accessibility & contrast

On white

15.62
#241362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#241362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241362
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241362#FFFFFF#000000##FFFFFF
##2413621.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #241362;
/* rgb */ color: rgb(36, 19, 98);
/* oklch */ color: oklch(27.2% 0.129 283.6);
Tailwind
colors: {
  custom: {
    50: '#685390',
    500: '#241362',
    950: '#000000',
  },
}
SCSS
$custom: #241362;
$custom-light: #685390;
$custom-dark: #000000;
JSON
{
  "hex": "#241362",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 252.911,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27236,
    "c": 0.12896,
    "h": 283.6
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#241362
secondary
#859A37
accent
#EA3DC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #241362

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

Preview Lab → · Contrast checker → · Palette generator →

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