#642292#642292

#642292 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.174 H 307.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#642292
RGBrgb(100, 34, 146)
HSLhsl(275, 62%, 35%)
HSVhsv(275, 77%, 57%)
CMYKcmyk(31.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(29.23, 48.80, -48.82)
CIE-LCHlch(29.23, 69.03, 314.99°)
OKLaboklab(41.19% 0.1046 -0.1388)
OKLCHoklch(41.19% 0.174 307)
XYZxyz(11.0147, 5.9288, 27.7527)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642292 #509222
analogous
#2C2292 #642292 #922288
triadic
#642292 #926422 #229264
tetradic
#642292 #922C22 #509222 #228892
square
#642292 #922C22 #509222 #228892
split-complementary
#642292 #889222 #22922C
monochromatic
#200B2F #421660 #642292 #862EC4 #A357D8

Accessibility & contrast

On white

9.61
#642292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#642292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642292
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642292#FFFFFF#000000##FFFFFF
##6422921.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#5C3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642292;
/* rgb */ color: rgb(100, 34, 146);
/* oklch */ color: oklch(41.2% 0.174 307.0);
Tailwind
colors: {
  custom: {
    50: '#9564b3',
    500: '#642292',
    950: '#000000',
  },
}
SCSS
$custom: #642292;
$custom-light: #9564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#642292",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 275.357,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41187,
    "c": 0.17378,
    "h": 307
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#642292
secondary
#7FBC54
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642292

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

Preview Lab → · Contrast checker → · Palette generator →

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