#642983#642983

#642983 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.149 H 311.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#642983
RGBrgb(100, 41, 131)
HSLhsl(279, 52%, 34%)
HSVhsv(279, 69%, 51%)
CMYKcmyk(23.7%, 68.7%, 0%, 48.6%)
CIE-LABlab(29.25, 42.15, -39.49)
CIE-LCHlch(29.25, 57.76, 316.86°)
OKLaboklab(40.85% 0.0993 -0.1114)
OKLCHoklch(40.85% 0.149 311.7)
XYZxyz(10.1444, 5.9342, 22.0793)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642983 #488329
analogous
#372983 #642983 #832975
triadic
#642983 #836429 #298364
tetradic
#642983 #833729 #488329 #297583
square
#642983 #833729 #488329 #297583
split-complementary
#642983 #758329 #298337
monochromatic
#1D0C26 #401A54 #642983 #8838B2 #A55BCC

Accessibility & contrast

On white

9.60
#642983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642983
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642983#FFFFFF#000000##FFFFFF
##6429831.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#204681
Tritanopia (blue-blind)
#603B52
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642983;
/* rgb */ color: rgb(100, 41, 131);
/* oklch */ color: oklch(40.8% 0.149 311.7);
Tailwind
colors: {
  custom: {
    50: '#9367a8',
    500: '#642983',
    950: '#000000',
  },
}
SCSS
$custom: #642983;
$custom-light: #9367a8;
$custom-dark: #000000;
JSON
{
  "hex": "#642983",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 279.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.14922,
    "h": 311.7
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#642983
secondary
#76B157
accent
#DC4C7E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #642983

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

Preview Lab → · Contrast checker → · Palette generator →

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