#6241D0#6241D0

#6241D0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.0% C 0.207 H 286.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6241D0
RGBrgb(98, 65, 208)
HSLhsl(254, 60%, 54%)
HSVhsv(254, 69%, 82%)
CMYKcmyk(52.9%, 68.8%, 0%, 18.4%)
CIE-LABlab(39.46, 49.70, -69.07)
CIE-LCHlch(39.46, 85.10, 305.74°)
OKLaboklab(49.98% 0.0603 -0.1985)
OKLCHoklch(49.98% 0.207 286.9)
XYZxyz(18.3091, 10.9304, 60.8073)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241D0 #AFD041
analogous
#4167D0 #6241D0 #A941D0
triadic
#6241D0 #D06241 #41D062
tetradic
#6241D0 #D04167 #AFD041 #41D0A9
square
#6241D0 #D04167 #AFD041 #41D0A9
split-complementary
#6241D0 #D0A941 #67D041
monochromatic
#331E79 #472AAA #6241D0 #8B72DC #B3A3E8

Accessibility & contrast

On white

6.59
#6241D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6241D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241D0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241D0#FFFFFF#000000##FFFFFF
##6241D01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#366683
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6241d0;
/* rgb */ color: rgb(98, 65, 208);
/* oklch */ color: oklch(50.0% 0.207 286.9);
Tailwind
colors: {
  custom: {
    50: '#9978df',
    500: '#6241d0',
    950: '#000000',
  },
}
SCSS
$custom: #6241d0;
$custom-light: #9978df;
$custom-dark: #000000;
JSON
{
  "hex": "#6241d0",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 253.846,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.20743,
    "h": 286.9
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#6241D0
secondary
#C7D598
accent
#E344BF
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6241D0

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

Preview Lab → · Contrast checker → · Palette generator →

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