#641B9F#641B9F

#641B9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.194 H 303.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#641B9F
RGBrgb(100, 27, 159)
HSLhsl(273, 71%, 36%)
HSVhsv(273, 83%, 62%)
CMYKcmyk(37.1%, 83%, 0%, 37.6%)
CIE-LABlab(29.40, 54.46, -56.50)
CIE-LCHlch(29.40, 78.47, 313.95°)
OKLaboklab(41.64% 0.107 -0.1613)
OKLCHoklch(41.64% 0.194 303.6)
XYZxyz(11.9040, 5.9964, 33.3245)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B9F #569F1B
analogous
#221B9F #641B9F #9F1B98
triadic
#641B9F #9F641B #1B9F64
tetradic
#641B9F #9F221B #569F1B #1B989F
square
#641B9F #9F221B #569F1B #1B989F
split-complementary
#641B9F #989F1B #1B9F22
monochromatic
#220936 #43126B #641B9F #8524D3 #A253E2

Accessibility & contrast

On white

9.55
#641B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#641B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B9F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B9F#FFFFFF#000000##FFFFFF
##641B9F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#58405F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641b9f;
/* rgb */ color: rgb(100, 27, 159);
/* oklch */ color: oklch(41.6% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#641b9f',
    950: '#000000',
  },
}
SCSS
$custom: #641b9f;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641b9f",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 273.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.19353,
    "h": 303.6
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#641B9F
secondary
#85C551
accent
#EE3A8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641B9F

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

Preview Lab → · Contrast checker → · Palette generator →

#641B9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva