#641998#641998

#641998 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.189 H 305.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#641998
RGBrgb(100, 25, 152)
HSLhsl(275, 72%, 35%)
HSVhsv(275, 84%, 60%)
CMYKcmyk(34.2%, 83.6%, 0%, 40.4%)
CIE-LABlab(28.57, 53.53, -53.59)
CIE-LCHlch(28.57, 75.74, 314.97°)
OKLaboklab(40.88% 0.1106 -0.1527)
OKLCHoklch(40.88% 0.189 305.9)
XYZxyz(11.2694, 5.6717, 30.2007)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641998 #4D9819
analogous
#251998 #641998 #98198D
triadic
#641998 #986419 #199864
tetradic
#641998 #982519 #4D9819 #198D98
square
#641998 #982519 #4D9819 #198D98
split-complementary
#641998 #8D9819 #199825
monochromatic
#1F082F #411063 #641998 #8722CD #A34AE1

Accessibility & contrast

On white

9.84
#641998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#641998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641998
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641998#FFFFFF#000000##FFFFFF
##6419981.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5A3C5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641998;
/* rgb */ color: rgb(100, 25, 152);
/* oklch */ color: oklch(40.9% 0.189 305.9);
Tailwind
colors: {
  custom: {
    50: '#9661b7',
    500: '#641998',
    950: '#000000',
  },
}
SCSS
$custom: #641998;
$custom-light: #9661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641998",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 275.433,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.18853,
    "h": 305.9
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#641998
secondary
#7BC34A
accent
#EE3983
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641998

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

Preview Lab → · Contrast checker → · Palette generator →

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