#6135AC#6135AC

#6135AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.179 H 295.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6135AC
RGBrgb(97, 53, 172)
HSLhsl(262, 53%, 44%)
HSVhsv(262, 69%, 67%)
CMYKcmyk(43.6%, 69.2%, 0%, 32.5%)
CIE-LABlab(34.12, 45.79, -56.66)
CIE-LCHlch(34.12, 72.85, 308.94°)
OKLaboklab(45.22% 0.0763 -0.162)
OKLCHoklch(45.22% 0.179 295.2)
XYZxyz(13.6473, 8.0658, 39.8595)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135AC #80AC35
analogous
#3545AC #6135AC #9D35AC
triadic
#6135AC #AC6135 #35AC61
tetradic
#6135AC #AC3545 #80AC35 #35AC9D
square
#6135AC #AC3545 #80AC35 #35AC9D
split-complementary
#6135AC #AC9D35 #45AC35
monochromatic
#2C184E #47277D #6135AC #8054CA #A283D9

Accessibility & contrast

On white

8.04
#6135AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6135AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6135AC#FFFFFF#000000##FFFFFF
##6135AC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4D526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6135ac;
/* rgb */ color: rgb(97, 53, 172);
/* oklch */ color: oklch(45.2% 0.179 295.2);
Tailwind
colors: {
  custom: {
    50: '#9470c6',
    500: '#6135ac',
    950: '#000000',
  },
}
SCSS
$custom: #6135ac;
$custom-light: #9470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6135ac",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 262.185,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45218,
    "c": 0.17908,
    "h": 295.2
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#6135AC
secondary
#A8C27B
accent
#DC4CA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6135AC

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

Preview Lab → · Contrast checker → · Palette generator →

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