#6046E1#6046E1

#6046E1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.222 H 283.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6046E1
RGBrgb(96, 70, 225)
HSLhsl(250, 72%, 58%)
HSVhsv(250, 69%, 88%)
CMYKcmyk(57.3%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.69, 51.67, -75.18)
CIE-LCHlch(41.69, 91.23, 304.50°)
OKLaboklab(51.97% 0.0505 -0.2165)
OKLCHoklch(51.97% 0.222 283.1)
XYZxyz(20.6004, 12.3020, 72.5086)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046E1 #C7E146
analogous
#4679E1 #6046E1 #AE46E1
triadic
#6046E1 #E16046 #46E160
tetradic
#6046E1 #E14679 #C7E146 #46E1AE
square
#6046E1 #E14679 #C7E146 #46E1AE
split-complementary
#6046E1 #E1AE46 #79E146
monochromatic
#2D1895 #3D21C9 #6046E1 #8D7BEA #BBAFF2

Accessibility & contrast

On white

6.07
#6046E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6046E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046E1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046E1#FFFFFF#000000##FFFFFF
##6046E11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#156F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6046e1;
/* rgb */ color: rgb(96, 70, 225);
/* oklch */ color: oklch(52.0% 0.222 283.1);
Tailwind
colors: {
  custom: {
    50: '#9a7cec',
    500: '#6046e1',
    950: '#000000',
  },
}
SCSS
$custom: #6046e1;
$custom-light: #9a7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#6046e1",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 250.065,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.22227,
    "h": 283.1
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#6046E1
secondary
#D6E0A2
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6046E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6046E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva