#6241C8#6241C8

#6241C8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.198 H 288.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6241C8
RGBrgb(98, 65, 200)
HSLhsl(255, 55%, 52%)
HSVhsv(255, 68%, 78%)
CMYKcmyk(51%, 67.5%, 0%, 21.6%)
CIE-LABlab(38.81, 47.40, -65.51)
CIE-LCHlch(38.81, 80.86, 305.89°)
OKLaboklab(49.3% 0.0615 -0.188)
OKLCHoklch(49.3% 0.198 288.1)
XYZxyz(17.3496, 10.5466, 55.7539)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241C8 #A7C841
analogous
#4163C8 #6241C8 #A641C8
triadic
#6241C8 #C86241 #41C862
tetradic
#6241C8 #C84163 #A7C841 #41C8A6
square
#6241C8 #C84163 #A7C841 #41C8A6
split-complementary
#6241C8 #C8A641 #63C841
monochromatic
#33206F #492E9E #6241C8 #8970D6 #B0A0E3

Accessibility & contrast

On white

6.75
#6241C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6241C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241C8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241C8#FFFFFF#000000##FFFFFF
##6241C81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#3D637F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6241c8;
/* rgb */ color: rgb(98, 65, 200);
/* oklch */ color: oklch(49.3% 0.198 288.1);
Tailwind
colors: {
  custom: {
    50: '#9878da',
    500: '#6241c8',
    950: '#000000',
  },
}
SCSS
$custom: #6241c8;
$custom-light: #9878da;
$custom-dark: #000000;
JSON
{
  "hex": "#6241c8",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 254.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.19784,
    "h": 288.1
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#6241C8
secondary
#C2D095
accent
#DE49BA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6241C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6241C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva