#6241B2#6241B2

#6241B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.171 H 292.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6241B2
RGBrgb(98, 65, 178)
HSLhsl(258, 47%, 48%)
HSVhsv(258, 63%, 70%)
CMYKcmyk(44.9%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.10, 41.09, -55.38)
CIE-LCHlch(37.10, 68.96, 306.58°)
OKLaboklab(47.53% 0.0642 -0.1582)
OKLCHoklch(47.53% 0.171 292.1)
XYZxyz(14.9610, 9.5911, 43.1739)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241B2 #91B241
analogous
#4159B2 #6241B2 #9A41B2
triadic
#6241B2 #B26241 #41B262
tetradic
#6241B2 #B24159 #91B241 #41B29A
square
#6241B2 #B24159 #91B241 #41B29A
split-complementary
#6241B2 #B29A41 #59B241
monochromatic
#312058 #493185 #6241B2 #8468C8 #A995D8

Accessibility & contrast

On white

7.20
#6241B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6241B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6241B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241B2#FFFFFF#000000##FFFFFF
##6241B21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#4B5B73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6241b2;
/* rgb */ color: rgb(98, 65, 178);
/* oklch */ color: oklch(47.5% 0.171 292.1);
Tailwind
colors: {
  custom: {
    50: '#9577ca',
    500: '#6241b2',
    950: '#000000',
  },
}
SCSS
$custom: #6241b2;
$custom-light: #9577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6241b2",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 257.522,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47534,
    "c": 0.17077,
    "h": 292.1
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#6241B2
secondary
#B3C48B
accent
#D652AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6241B2

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

Preview Lab → · Contrast checker → · Palette generator →

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