#6241BD#6241BD

#6241BD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.184 H 290.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6241BD
RGBrgb(98, 65, 189)
HSLhsl(256, 49%, 50%)
HSVhsv(256, 66%, 74%)
CMYKcmyk(48.1%, 65.6%, 0%, 25.9%)
CIE-LABlab(37.93, 44.24, -60.51)
CIE-LCHlch(37.93, 74.96, 306.17°)
OKLaboklab(48.4% 0.063 -0.1733)
OKLCHoklch(48.4% 0.184 290)
XYZxyz(16.1100, 10.0508, 49.2254)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241BD #9CBD41
analogous
#415EBD #6241BD #A041BD
triadic
#6241BD #BD6241 #41BD62
tetradic
#6241BD #BD415E #9CBD41 #41BDA0
square
#6241BD #BD415E #9CBD41 #41BDA0
split-complementary
#6241BD #BDA041 #5EBD41
monochromatic
#332262 #4A318F #6241BD #876ECD #AD9CDD

Accessibility & contrast

On white

6.98
#6241BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6241BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241BD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241BD#FFFFFF#000000##FFFFFF
##6241BD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#445F79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6241bd;
/* rgb */ color: rgb(98, 65, 189);
/* oklch */ color: oklch(48.4% 0.184 290.0);
Tailwind
colors: {
  custom: {
    50: '#9678d2',
    500: '#6241bd',
    950: '#000000',
  },
}
SCSS
$custom: #6241bd;
$custom-light: #9678d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6241bd",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 255.968,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.18443,
    "h": 290
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#6241BD
secondary
#BAC991
accent
#D84FB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6241BD

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

Preview Lab → · Contrast checker → · Palette generator →

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