#6135BB#6135BB

#6135BB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.197 H 292.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6135BB
RGBrgb(97, 53, 187)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(48.1%, 71.7%, 0%, 26.7%)
CIE-LABlab(35.35, 49.88, -63.55)
CIE-LCHlch(35.35, 80.79, 308.13°)
OKLaboklab(46.48% 0.0735 -0.1822)
OKLCHoklch(46.48% 0.197 292)
XYZxyz(15.1700, 8.6749, 47.8792)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135BB #8FBB35
analogous
#354CBB #6135BB #A435BB
triadic
#6135BB #BB6135 #35BB61
tetradic
#6135BB #BB354C #8FBB35 #35BBA4
square
#6135BB #BB354C #8FBB35 #35BBA4
split-complementary
#6135BB #BBA435 #4CBB35
monochromatic
#301A5C #48278B #6135BB #835CD1 #A78CDE

Accessibility & contrast

On white

7.68
#6135BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6135BB#FFFFFF#000000##FFFFFF
##6135BB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#445874
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6135bb;
/* rgb */ color: rgb(97, 53, 187);
/* oklch */ color: oklch(46.5% 0.197 292.0);
Tailwind
colors: {
  custom: {
    50: '#9670d0',
    500: '#6135bb',
    950: '#000000',
  },
}
SCSS
$custom: #6135bb;
$custom-light: #9670d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6135bb",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 259.701,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.19652,
    "h": 292
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#6135BB
secondary
#B2C983
accent
#DF49AE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6135BB

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

Preview Lab → · Contrast checker → · Palette generator →

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