#642999#642999

#642999 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.173 H 303.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#642999
RGBrgb(100, 41, 153)
HSLhsl(272, 58%, 38%)
HSVhsv(272, 73%, 60%)
CMYKcmyk(34.6%, 73.2%, 0%, 40%)
CIE-LABlab(30.87, 47.40, -50.46)
CIE-LCHlch(30.87, 69.23, 313.21°)
OKLaboklab(42.52% 0.0963 -0.1436)
OKLCHoklch(42.52% 0.173 303.9)
XYZxyz(11.7969, 6.5951, 30.7823)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642999 #5E9929
analogous
#2C2999 #642999 #992996
triadic
#642999 #996429 #299964
tetradic
#642999 #992C29 #5E9929 #299699
square
#642999 #992C29 #5E9929 #299699
split-complementary
#642999 #969929 #29992C
monochromatic
#250F38 #441C69 #642999 #8436C9 #A166D6

Accessibility & contrast

On white

9.06
#642999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#642999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642999
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642999#FFFFFF#000000##FFFFFF
##6429991.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#5A445E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #642999;
/* rgb */ color: rgb(100, 41, 153);
/* oklch */ color: oklch(42.5% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#9568b8',
    500: '#642999',
    950: '#000000',
  },
}
SCSS
$custom: #642999;
$custom-light: #9568b8;
$custom-dark: #000000;
JSON
{
  "hex": "#642999",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 271.607,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42515,
    "c": 0.17293,
    "h": 303.9
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#642999
secondary
#8CBC62
accent
#E14790
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642999

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

Preview Lab → · Contrast checker → · Palette generator →

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