#6641EA#6641EA

#6641EA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.237 H 284.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6641EA
RGBrgb(102, 65, 234)
HSLhsl(253, 80%, 59%)
HSVhsv(253, 72%, 92%)
CMYKcmyk(56.4%, 72.2%, 0%, 8.2%)
CIE-LABlab(42.07, 57.70, -79.66)
CIE-LCHlch(42.07, 98.36, 305.92°)
OKLaboklab(52.6% 0.0607 -0.2294)
OKLCHoklch(52.6% 0.237 284.8)
XYZxyz(22.2165, 12.5445, 79.0766)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641EA #C5EA41
analogous
#4170EA #6641EA #BA41EA
triadic
#6641EA #EA6641 #41EA66
tetradic
#6641EA #EA4170 #C5EA41 #41EABA
square
#6641EA #EA4170 #C5EA41 #41EABA
split-complementary
#6641EA #EABA41 #70EA41
monochromatic
#31129F #4118D6 #6641EA #9278F0 #BFAFF6

Accessibility & contrast

On white

5.98
#6641EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6641EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641EA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641EA#FFFFFF#000000##FFFFFF
##6641EA1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#226F92
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6641ea;
/* rgb */ color: rgb(102, 65, 234);
/* oklch */ color: oklch(52.6% 0.237 284.8);
Tailwind
colors: {
  custom: {
    50: '#9f79f2',
    500: '#6641ea',
    950: '#000000',
  },
}
SCSS
$custom: #6641ea;
$custom-light: #9f79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6641ea",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 253.136,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.23726,
    "h": 284.8
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#6641EA
secondary
#D6E5A2
accent
#F731CB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6641EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6641EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva