#6241BB#6241BB

#6241BB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.182 H 290.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6241BB
RGBrgb(98, 65, 187)
HSLhsl(256, 48%, 49%)
HSVhsv(256, 65%, 73%)
CMYKcmyk(47.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(37.78, 43.66, -59.59)
CIE-LCHlch(37.78, 73.87, 306.23°)
OKLaboklab(48.24% 0.0633 -0.1706)
OKLCHoklch(48.24% 0.182 290.3)
XYZxyz(15.8944, 9.9645, 48.0899)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241BB #9ABB41
analogous
#415DBB #6241BB #9F41BB
triadic
#6241BB #BB6241 #41BB62
tetradic
#6241BB #BB415D #9ABB41 #41BB9F
square
#6241BB #BB415D #9ABB41 #41BB9F
split-complementary
#6241BB #BB9F41 #5DBB41
monochromatic
#322160 #4A318E #6241BB #876DCC #AC9ADC

Accessibility & contrast

On white

7.02
#6241BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6241BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6241BB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241BB#FFFFFF#000000##FFFFFF
##6241BB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#465E78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6241bb;
/* rgb */ color: rgb(98, 65, 187);
/* oklch */ color: oklch(48.2% 0.182 290.3);
Tailwind
colors: {
  custom: {
    50: '#9678d0',
    500: '#6241bb',
    950: '#000000',
  },
}
SCSS
$custom: #6241bb;
$custom-light: #9678d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6241bb",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 256.23,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.18196,
    "h": 290.3
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#6241BB
secondary
#B9C890
accent
#D850B3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6241BB

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

Preview Lab → · Contrast checker → · Palette generator →

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