#6135BA#6135BA

#6135BA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.195 H 292.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6135BA
RGBrgb(97, 53, 186)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(47.8%, 71.5%, 0%, 27.1%)
CIE-LABlab(35.27, 49.61, -63.10)
CIE-LCHlch(35.27, 80.26, 308.17°)
OKLaboklab(46.39% 0.0737 -0.1809)
OKLCHoklch(46.39% 0.195 292.2)
XYZxyz(15.0633, 8.6322, 47.3174)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135BA #8EBA35
analogous
#354BBA #6135BA #A435BA
triadic
#6135BA #BA6135 #35BA61
tetradic
#6135BA #BA354B #8EBA35 #35BAA4
square
#6135BA #BA354B #8EBA35 #35BAA4
split-complementary
#6135BA #BAA435 #4BBA35
monochromatic
#2F1A5B #48278A #6135BA #825CD0 #A78BDE

Accessibility & contrast

On white

7.70
#6135BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6135BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6135BA#FFFFFF#000000##FFFFFF
##6135BA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#455774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6135ba;
/* rgb */ color: rgb(97, 53, 186);
/* oklch */ color: oklch(46.4% 0.195 292.2);
Tailwind
colors: {
  custom: {
    50: '#9670d0',
    500: '#6135ba',
    950: '#000000',
  },
}
SCSS
$custom: #6135ba;
$custom-light: #9670d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6135ba",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 259.85,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.19537,
    "h": 292.2
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#6135BA
secondary
#B1C882
accent
#DF49AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6135BA

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

Preview Lab → · Contrast checker → · Palette generator →

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