#641B8F#641B8F

#641B8F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.178 H 308.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#641B8F
RGBrgb(100, 27, 143)
HSLhsl(278, 68%, 33%)
HSVhsv(278, 81%, 56%)
CMYKcmyk(30.1%, 81.1%, 0%, 43.9%)
CIE-LABlab(28.05, 50.83, -48.89)
CIE-LCHlch(28.05, 70.52, 316.12°)
OKLaboklab(40.28% 0.1115 -0.1389)
OKLCHoklch(40.28% 0.178 308.8)
XYZxyz(10.6044, 5.4766, 26.4797)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B8F #468F1B
analogous
#2A1B8F #641B8F #8F1B80
triadic
#641B8F #8F641B #1B8F64
tetradic
#641B8F #8F2A1B #468F1B #1B808F
square
#641B8F #8F2A1B #468F1B #1B808F
split-complementary
#641B8F #808F1B #1B8F2A
monochromatic
#1C0828 #40115C #641B8F #8825C2 #A548DC

Accessibility & contrast

On white

10.02
#641B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#641B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B8F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B8F#FFFFFF#000000##FFFFFF
##641B8F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#5D3955
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641b8f;
/* rgb */ color: rgb(100, 27, 143);
/* oklch */ color: oklch(40.3% 0.178 308.8);
Tailwind
colors: {
  custom: {
    50: '#9561b1',
    500: '#641b8f',
    950: '#000000',
  },
}
SCSS
$custom: #641b8f;
$custom-light: #9561b1;
$custom-dark: #000000;
JSON
{
  "hex": "#641b8f",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 277.759,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.17814,
    "h": 308.8
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#641B8F
secondary
#74BE48
accent
#EB3D7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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