#6031C8#6031C8

#6031C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.215 H 289.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6031C8
RGBrgb(96, 49, 200)
HSLhsl(259, 61%, 49%)
HSVhsv(259, 76%, 78%)
CMYKcmyk(52%, 75.5%, 0%, 21.6%)
CIE-LABlab(35.70, 55.20, -70.61)
CIE-LCHlch(35.70, 89.62, 308.02°)
OKLaboklab(47.05% 0.0723 -0.2029)
OKLCHoklch(47.05% 0.215 289.6)
XYZxyz(16.3445, 8.8528, 55.4799)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6031C8 #99C831
analogous
#314EC8 #6031C8 #AC31C8
triadic
#6031C8 #C86031 #31C860
tetradic
#6031C8 #C8314E #99C831 #31C8AC
square
#6031C8 #C8314E #99C831 #31C8AC
split-complementary
#6031C8 #C8AC31 #4EC831
monochromatic
#311966 #482597 #6031C8 #845FD8 #AA90E4

Accessibility & contrast

On white

7.58
#6031C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6031C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6031C8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6031C8#FFFFFF#000000##FFFFFF
##6031C81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#395B7B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6031c8;
/* rgb */ color: rgb(96, 49, 200);
/* oklch */ color: oklch(47.0% 0.215 289.6);
Tailwind
colors: {
  custom: {
    50: '#986eda',
    500: '#6031c8',
    950: '#000000',
  },
}
SCSS
$custom: #6031c8;
$custom-light: #986eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6031c8",
  "rgb": {
    "r": 96,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 258.675,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.21544,
    "h": 289.6
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#6031C8
secondary
#B8CE86
accent
#E444B2
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6031C8

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

Preview Lab → · Contrast checker → · Palette generator →

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