#642492#642492

#642492 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 306.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#642492
RGBrgb(100, 36, 146)
HSLhsl(275, 60%, 36%)
HSVhsv(275, 75%, 57%)
CMYKcmyk(31.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(29.53, 47.96, -48.34)
CIE-LCHlch(29.53, 68.09, 314.77°)
OKLaboklab(41.4% 0.1027 -0.1373)
OKLCHoklch(41.4% 0.171 306.8)
XYZxyz(11.0736, 6.0465, 27.7723)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642492 #529224
analogous
#2D2492 #642492 #922489
triadic
#642492 #926424 #249264
tetradic
#642492 #922D24 #529224 #248992
square
#642492 #922D24 #529224 #248992
split-complementary
#642492 #899224 #24922D
monochromatic
#210C30 #421861 #642492 #8630C3 #A25AD6

Accessibility & contrast

On white

9.51
#642492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#642492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642492
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642492#FFFFFF#000000##FFFFFF
##6424921.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#5C3E59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642492;
/* rgb */ color: rgb(100, 36, 146);
/* oklch */ color: oklch(41.4% 0.171 306.8);
Tailwind
colors: {
  custom: {
    50: '#9565b3',
    500: '#642492',
    950: '#000000',
  },
}
SCSS
$custom: #642492;
$custom-light: #9565b3;
$custom-dark: #000000;
JSON
{
  "hex": "#642492",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 274.909,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.17149,
    "h": 306.8
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#642492
secondary
#81BB57
accent
#E44487
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642492

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

Preview Lab → · Contrast checker → · Palette generator →

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