#6241C2#6241C2

#6241C2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.191 H 289.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6241C2
RGBrgb(98, 65, 194)
HSLhsl(255, 51%, 51%)
HSVhsv(255, 66%, 76%)
CMYKcmyk(49.5%, 66.5%, 0%, 23.9%)
CIE-LABlab(38.33, 45.67, -62.80)
CIE-LCHlch(38.33, 77.65, 306.03°)
OKLaboklab(48.81% 0.0624 -0.18)
OKLCHoklch(48.81% 0.191 289.1)
XYZxyz(16.6621, 10.2716, 52.1332)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241C2 #A1C241
analogous
#4160C2 #6241C2 #A241C2
triadic
#6241C2 #C26241 #41C262
tetradic
#6241C2 #C24160 #A1C241 #41C2A2
square
#6241C2 #C24160 #A1C241 #41C2A2
split-complementary
#6241C2 #C2A241 #60C241
monochromatic
#332167 #4A3096 #6241C2 #886FD1 #AF9EE0

Accessibility & contrast

On white

6.88
#6241C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6241C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241C2#FFFFFF#000000##FFFFFF
##6241C21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#41617C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6241c2;
/* rgb */ color: rgb(98, 65, 194);
/* oklch */ color: oklch(48.8% 0.191 289.1);
Tailwind
colors: {
  custom: {
    50: '#9778d5',
    500: '#6241c2',
    950: '#000000',
  },
}
SCSS
$custom: #6241c2;
$custom-light: #9778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6241c2",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 255.349,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.19056,
    "h": 289.1
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#6241C2
secondary
#BDCC93
accent
#DB4DB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6241C2

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

Preview Lab → · Contrast checker → · Palette generator →

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