#6241D7#6241D7

#6241D7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.216 H 285.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6241D7
RGBrgb(98, 65, 215)
HSLhsl(253, 65%, 55%)
HSVhsv(253, 70%, 84%)
CMYKcmyk(54.4%, 69.8%, 0%, 15.7%)
CIE-LABlab(40.05, 51.72, -72.14)
CIE-LCHlch(40.05, 88.76, 305.64°)
OKLaboklab(50.58% 0.059 -0.2075)
OKLCHoklch(50.58% 0.216 285.9)
XYZxyz(19.1894, 11.2825, 65.4434)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241D7 #B6D741
analogous
#416BD7 #6241D7 #AD41D7
triadic
#6241D7 #D76241 #41D762
tetradic
#6241D7 #D7416B #B6D741 #41D7AD
square
#6241D7 #D7416B #B6D741 #41D7AD
split-complementary
#6241D7 #D7AD41 #6BD741
monochromatic
#321B82 #4526B5 #6241D7 #8C74E2 #B6A6EC

Accessibility & contrast

On white

6.45
#6241D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6241D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241D7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241D7#FFFFFF#000000##FFFFFF
##6241D71.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#2E6987
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6241d7;
/* rgb */ color: rgb(98, 65, 215);
/* oklch */ color: oklch(50.6% 0.216 285.9);
Tailwind
colors: {
  custom: {
    50: '#9a78e4',
    500: '#6241d7',
    950: '#000000',
  },
}
SCSS
$custom: #6241d7;
$custom-light: #9a78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6241d7",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 253.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.2157,
    "h": 285.9
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#6241D7
secondary
#CCD99A
accent
#E840C3
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6241D7

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

Preview Lab → · Contrast checker → · Palette generator →

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