#6035A4#6035A4

#6035A4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.170 H 296.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6035A4
RGBrgb(96, 53, 164)
HSLhsl(263, 51%, 43%)
HSVhsv(263, 68%, 64%)
CMYKcmyk(41.5%, 67.7%, 0%, 35.7%)
CIE-LABlab(33.38, 43.42, -53.07)
CIE-LCHlch(33.38, 68.57, 309.29°)
OKLaboklab(44.47% 0.0761 -0.1515)
OKLCHoklch(44.47% 0.17 296.7)
XYZxyz(12.7961, 7.7131, 35.9294)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6035A4 #79A435
analogous
#3542A4 #6035A4 #9735A4
triadic
#6035A4 #A46035 #35A460
tetradic
#6035A4 #A43542 #79A435 #35A497
square
#6035A4 #A43542 #79A435 #35A497
split-complementary
#6035A4 #A49735 #42A435
monochromatic
#2A1747 #452676 #6035A4 #7E50C6 #A07ED5

Accessibility & contrast

On white

8.26
#6035A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6035A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6035A4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6035A4#FFFFFF#000000##FFFFFF
##6035A41.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#4F4F68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6035a4;
/* rgb */ color: rgb(96, 53, 164);
/* oklch */ color: oklch(44.5% 0.170 296.7);
Tailwind
colors: {
  custom: {
    50: '#936fc0',
    500: '#6035a4',
    950: '#000000',
  },
}
SCSS
$custom: #6035a4;
$custom-light: #936fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6035a4",
  "rgb": {
    "r": 96,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 263.243,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.16953,
    "h": 296.7
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#6035A4
secondary
#A3BE76
accent
#DB4DA4
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6035A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6035A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva