#6241DB#6241DB

#6241DB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.220 H 285.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6241DB
RGBrgb(98, 65, 219)
HSLhsl(253, 68%, 56%)
HSVhsv(253, 70%, 86%)
CMYKcmyk(55.3%, 70.3%, 0%, 14.1%)
CIE-LABlab(40.39, 52.87, -73.88)
CIE-LCHlch(40.39, 90.84, 305.59°)
OKLaboklab(50.93% 0.0583 -0.2125)
OKLCHoklch(50.93% 0.22 285.3)
XYZxyz(19.7096, 11.4906, 68.1834)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241DB #BADB41
analogous
#416DDB #6241DB #AF41DB
triadic
#6241DB #DB6241 #41DB62
tetradic
#6241DB #DB416D #BADB41 #41DBAF
square
#6241DB #DB416D #BADB41 #41DBAF
split-complementary
#6241DB #DBAF41 #6DDB41
monochromatic
#311A88 #4423BB #6241DB #8D74E5 #B7A8EE

Accessibility & contrast

On white

6.37
#6241DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6241DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6241DB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241DB#FFFFFF#000000##FFFFFF
##6241DB1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#296A8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6241db;
/* rgb */ color: rgb(98, 65, 219);
/* oklch */ color: oklch(50.9% 0.220 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a79e7',
    500: '#6241db',
    950: '#000000',
  },
}
SCSS
$custom: #6241db;
$custom-light: #9a79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6241db",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 252.857,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.22039,
    "h": 285.3
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#6241DB
secondary
#CEDC9C
accent
#EB3DC6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6241DB

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

Preview Lab → · Contrast checker → · Palette generator →

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