#6241DF#6241DF

#6241DF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.225 H 284.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6241DF
RGBrgb(98, 65, 223)
HSLhsl(253, 71%, 56%)
HSVhsv(253, 71%, 87%)
CMYKcmyk(56.1%, 70.9%, 0%, 12.5%)
CIE-LABlab(40.74, 54.02, -75.59)
CIE-LCHlch(40.74, 92.91, 305.55°)
OKLaboklab(51.28% 0.0575 -0.2176)
OKLCHoklch(51.28% 0.225 284.8)
XYZxyz(20.2425, 11.7038, 70.9901)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241DF #BEDF41
analogous
#416FDF #6241DF #B141DF
triadic
#6241DF #DF6241 #41DF62
tetradic
#6241DF #DF416F #BEDF41 #41DFB1
square
#6241DF #DF416F #BEDF41 #41DFB1
split-complementary
#6241DF #DFB141 #6FDF41
monochromatic
#30188E #4221C2 #6241DF #8D75E8 #B9AAF1

Accessibility & contrast

On white

6.29
#6241DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6241DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241DF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241DF#FFFFFF#000000##FFFFFF
##6241DF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#246C8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6241df;
/* rgb */ color: rgb(98, 65, 223);
/* oklch */ color: oklch(51.3% 0.225 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b79ea',
    500: '#6241df',
    950: '#000000',
  },
}
SCSS
$custom: #6241df;
$custom-light: #9b79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6241df",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 252.532,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5128,
    "c": 0.22506,
    "h": 284.8
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#6241DF
secondary
#D1DE9D
accent
#EE3AC8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6241DF

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

Preview Lab → · Contrast checker → · Palette generator →

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