#6241CB#6241CB

#6241CB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.6% C 0.201 H 287.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6241CB
RGBrgb(98, 65, 203)
HSLhsl(254, 57%, 53%)
HSVhsv(254, 68%, 80%)
CMYKcmyk(51.7%, 68%, 0%, 20.4%)
CIE-LABlab(39.05, 48.26, -66.86)
CIE-LCHlch(39.05, 82.45, 305.82°)
OKLaboklab(49.55% 0.0611 -0.192)
OKLCHoklch(49.55% 0.201 287.7)
XYZxyz(17.7036, 10.6882, 57.6185)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241CB #AACB41
analogous
#4165CB #6241CB #A741CB
triadic
#6241CB #CB6241 #41CB62
tetradic
#6241CB #CB4165 #AACB41 #41CBA7
square
#6241CB #CB4165 #AACB41 #41CBA7
split-complementary
#6241CB #CBA741 #65CB41
monochromatic
#331F72 #492CA2 #6241CB #8A71D8 #B1A1E5

Accessibility & contrast

On white

6.69
#6241CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6241CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241CB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241CB#FFFFFF#000000##FFFFFF
##6241CB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#3A6481
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6241cb;
/* rgb */ color: rgb(98, 65, 203);
/* oklch */ color: oklch(49.6% 0.201 287.7);
Tailwind
colors: {
  custom: {
    50: '#9878dc',
    500: '#6241cb',
    950: '#000000',
  },
}
SCSS
$custom: #6241cb;
$custom-light: #9878dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6241cb",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 254.348,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.20144,
    "h": 287.7
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#6241CB
secondary
#C4D296
accent
#E048BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6241CB

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

Preview Lab → · Contrast checker → · Palette generator →

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