#6050AF#6050AF

#6050AF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.6% C 0.146 H 287.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6050AF
RGBrgb(96, 80, 175)
HSLhsl(250, 37%, 50%)
HSVhsv(250, 54%, 69%)
CMYKcmyk(45.1%, 54.3%, 0%, 31.4%)
CIE-LABlab(40.11, 30.89, -48.75)
CIE-LCHlch(40.11, 57.71, 302.36°)
OKLaboklab(49.64% 0.0441 -0.1388)
OKLCHoklch(49.64% 0.146 287.6)
XYZxyz(15.4282, 11.3187, 41.9209)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6050AF #9FAF50
analogous
#5070AF #6050AF #8F50AF
triadic
#6050AF #AF6050 #50AF60
tetradic
#6050AF #AF5070 #9FAF50 #50AF8F
square
#6050AF #AF5070 #9FAF50 #50AF8F
split-complementary
#6050AF #AF8F50 #70AF50
monochromatic
#322A5B #493D85 #6050AF #867AC2 #ACA4D5

Accessibility & contrast

On white

6.43
#6050AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6050AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6050AF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6050AF#FFFFFF#000000##FFFFFF
##6050AF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#486478
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6050af;
/* rgb */ color: rgb(96, 80, 175);
/* oklch */ color: oklch(49.6% 0.146 287.6);
Tailwind
colors: {
  custom: {
    50: '#9281c7',
    500: '#6050af',
    950: '#000000',
  },
}
SCSS
$custom: #6050af;
$custom-light: #9281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6050af",
  "rgb": {
    "r": 96,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 250.105,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.14561,
    "h": 287.6
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#6050AF
secondary
#BCC398
accent
#CD5BBA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6050AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6050AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva