#642296#642296

#642296 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.178 H 305.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#642296
RGBrgb(100, 34, 150)
HSLhsl(274, 63%, 36%)
HSVhsv(274, 77%, 59%)
CMYKcmyk(33.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(29.55, 49.74, -50.76)
CIE-LCHlch(29.55, 71.07, 314.42°)
OKLaboklab(41.51% 0.1037 -0.1444)
OKLCHoklch(41.51% 0.178 305.7)
XYZxyz(11.3314, 6.0555, 29.4201)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642296 #549622
analogous
#2A2296 #642296 #96228E
triadic
#642296 #966422 #229664
tetradic
#642296 #962A22 #549622 #228E96
square
#642296 #962A22 #549622 #228E96
split-complementary
#642296 #8E9622 #22962A
monochromatic
#210B32 #431764 #642296 #852DC8 #A259D9

Accessibility & contrast

On white

9.50
#642296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642296
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642296#FFFFFF#000000##FFFFFF
##6422961.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#5B3F5B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642296;
/* rgb */ color: rgb(100, 34, 150);
/* oklch */ color: oklch(41.5% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#9565b6',
    500: '#642296',
    950: '#000000',
  },
}
SCSS
$custom: #642296;
$custom-light: #9565b6;
$custom-dark: #000000;
JSON
{
  "hex": "#642296",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 274.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.17784,
    "h": 305.7
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#642296
secondary
#83BE56
accent
#E64289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642296

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

Preview Lab → · Contrast checker → · Palette generator →

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