#6026A8#6026A8

#6026A8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.192 H 297.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6026A8
RGBrgb(96, 38, 168)
HSLhsl(267, 63%, 40%)
HSVhsv(267, 77%, 66%)
CMYKcmyk(42.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(31.11, 51.75, -59.17)
CIE-LCHlch(31.11, 78.61, 311.17°)
OKLaboklab(42.96% 0.0898 -0.1693)
OKLCHoklch(42.96% 0.192 297.9)
XYZxyz(12.5830, 6.7000, 37.6685)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6026A8 #6EA826
analogous
#262DA8 #6026A8 #A126A8
triadic
#6026A8 #A86026 #26A860
tetradic
#6026A8 #A8262D #6EA826 #26A8A1
square
#6026A8 #A8262D #6EA826 #26A8A1
split-complementary
#6026A8 #A8A126 #2DA826
monochromatic
#270F44 #431B76 #6026A8 #7D39D2 #9E6BDE

Accessibility & contrast

On white

8.97
#6026A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6026A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6026A8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6026A8#FFFFFF#000000##FFFFFF
##6026A81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4E4966
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6026a8;
/* rgb */ color: rgb(96, 38, 168);
/* oklch */ color: oklch(43.0% 0.192 297.9);
Tailwind
colors: {
  custom: {
    50: '#9467c3',
    500: '#6026a8',
    950: '#000000',
  },
}
SCSS
$custom: #6026a8;
$custom-light: #9467c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6026a8",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 266.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.19165,
    "h": 297.9
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#6026A8
secondary
#9AC466
accent
#E6429D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6026A8

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

Preview Lab → · Contrast checker → · Palette generator →

#6026A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva