#6241D2#6241D2

#6241D2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.210 H 286.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6241D2
RGBrgb(98, 65, 210)
HSLhsl(254, 62%, 54%)
HSVhsv(254, 69%, 82%)
CMYKcmyk(53.3%, 69%, 0%, 17.6%)
CIE-LABlab(39.63, 50.28, -69.96)
CIE-LCHlch(39.63, 86.15, 305.70°)
OKLaboklab(50.15% 0.0599 -0.2011)
OKLCHoklch(50.15% 0.21 286.6)
XYZxyz(18.5567, 11.0294, 62.1114)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241D2 #B1D241
analogous
#4169D2 #6241D2 #AB41D2
triadic
#6241D2 #D26241 #41D262
tetradic
#6241D2 #D24169 #B1D241 #41D2AB
square
#6241D2 #D24169 #B1D241 #41D2AB
split-complementary
#6241D2 #D2AB41 #69D241
monochromatic
#331D7B #4729AD #6241D2 #8B72DE #B4A4E9

Accessibility & contrast

On white

6.55
#6241D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6241D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241D2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241D2#FFFFFF#000000##FFFFFF
##6241D21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#346785
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6241d2;
/* rgb */ color: rgb(98, 65, 210);
/* oklch */ color: oklch(50.1% 0.210 286.6);
Tailwind
colors: {
  custom: {
    50: '#9978e1',
    500: '#6241d2',
    950: '#000000',
  },
}
SCSS
$custom: #6241d2;
$custom-light: #9978e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6241d2",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 253.655,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.2098,
    "h": 286.6
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#6241D2
secondary
#C8D698
accent
#E543C0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6241D2

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

Preview Lab → · Contrast checker → · Palette generator →

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