#6135AA#6135AA

#6135AA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.177 H 295.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6135AA
RGBrgb(97, 53, 170)
HSLhsl(263, 52%, 44%)
HSVhsv(263, 69%, 67%)
CMYKcmyk(42.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(33.96, 45.25, -55.72)
CIE-LCHlch(33.96, 71.78, 309.08°)
OKLaboklab(45.06% 0.0766 -0.1592)
OKLCHoklch(45.06% 0.177 295.7)
XYZxyz(13.4566, 7.9896, 38.8556)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135AA #7EAA35
analogous
#3543AA #6135AA #9B35AA
triadic
#6135AA #AA6135 #35AA61
tetradic
#6135AA #AA3543 #7EAA35 #35AA9B
square
#6135AA #AA3543 #7EAA35 #35AA9B
split-complementary
#6135AA #AA9B35 #43AA35
monochromatic
#2C184D #46267B #6135AA #7F53C9 #A282D8

Accessibility & contrast

On white

8.08
#6135AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6135AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135AA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135AA#FFFFFF#000000##FFFFFF
##6135AA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#4E516B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6135aa;
/* rgb */ color: rgb(97, 53, 170);
/* oklch */ color: oklch(45.1% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#946fc4',
    500: '#6135aa',
    950: '#000000',
  },
}
SCSS
$custom: #6135aa;
$custom-light: #946fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6135aa",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 262.564,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45056,
    "c": 0.17673,
    "h": 295.7
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#6135AA
secondary
#A6C17A
accent
#DC4CA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6135AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6135AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva