#6135AD#6135AD

#6135AD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.180 H 295.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6135AD
RGBrgb(97, 53, 173)
HSLhsl(262, 53%, 44%)
HSVhsv(262, 69%, 68%)
CMYKcmyk(43.9%, 69.4%, 0%, 32.2%)
CIE-LABlab(34.20, 46.06, -57.13)
CIE-LCHlch(34.20, 73.38, 308.88°)
OKLaboklab(45.3% 0.0761 -0.1634)
OKLCHoklch(45.3% 0.18 295)
XYZxyz(13.7437, 8.1044, 40.3672)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135AD #81AD35
analogous
#3545AD #6135AD #9D35AD
triadic
#6135AD #AD6135 #35AD61
tetradic
#6135AD #AD3545 #81AD35 #35AD9D
square
#6135AD #AD3545 #81AD35 #35AD9D
split-complementary
#6135AD #AD9D35 #45AD35
monochromatic
#2C184F #47277E #6135AD #8054CB #A383D9

Accessibility & contrast

On white

8.01
#6135AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6135AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6135AD#FFFFFF#000000##FFFFFF
##6135AD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#4C536D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6135ad;
/* rgb */ color: rgb(97, 53, 173);
/* oklch */ color: oklch(45.3% 0.180 295.0);
Tailwind
colors: {
  custom: {
    50: '#9470c6',
    500: '#6135ad',
    950: '#000000',
  },
}
SCSS
$custom: #6135ad;
$custom-light: #9470c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6135ad",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 262,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.453,
    "c": 0.18025,
    "h": 295
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#6135AD
secondary
#A8C37B
accent
#DD4BA7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6135AD

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

Preview Lab → · Contrast checker → · Palette generator →

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