#6031D0#6031D0

#6031D0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.224 H 288.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6031D0
RGBrgb(96, 49, 208)
HSLhsl(258, 63%, 50%)
HSVhsv(258, 76%, 82%)
CMYKcmyk(53.8%, 76.4%, 0%, 18.4%)
CIE-LABlab(36.44, 57.37, -74.05)
CIE-LCHlch(36.44, 93.67, 307.77°)
OKLaboklab(47.79% 0.0701 -0.213)
OKLCHoklch(47.79% 0.224 288.2)
XYZxyz(17.3040, 9.2366, 60.5333)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031D0 #A1D031
analogous
#3151D0 #6031D0 #B031D0
triadic
#6031D0 #D06031 #31D060
tetradic
#6031D0 #D03151 #A1D031 #31D0B0
square
#6031D0 #D03151 #A1D031 #31D0B0
split-complementary
#6031D0 #D0B031 #51D031
monochromatic
#32196E #49249F #6031D0 #8663DB #AD95E7

Accessibility & contrast

On white

7.38
#6031D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6031D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6031D0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6031D0#FFFFFF#000000##FFFFFF
##6031D01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#325E7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6031d0;
/* rgb */ color: rgb(96, 49, 208);
/* oklch */ color: oklch(47.8% 0.224 288.2);
Tailwind
colors: {
  custom: {
    50: '#996fe0',
    500: '#6031d0',
    950: '#000000',
  },
}
SCSS
$custom: #6031d0;
$custom-light: #996fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#6031d0",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 257.736,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.22425,
    "h": 288.2
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#6031D0
secondary
#BDD28B
accent
#E642B5
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6031D0

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

Preview Lab → · Contrast checker → · Palette generator →

#6031D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva