#6135BE#6135BE

#6135BE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.200 H 291.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6135BE
RGBrgb(97, 53, 190)
HSLhsl(259, 56%, 48%)
HSVhsv(259, 72%, 75%)
CMYKcmyk(48.9%, 72.1%, 0%, 25.5%)
CIE-LABlab(35.61, 50.70, -64.90)
CIE-LCHlch(35.61, 82.36, 308.00°)
OKLaboklab(46.74% 0.0729 -0.1862)
OKLCHoklch(46.74% 0.2 291.4)
XYZxyz(15.4945, 8.8047, 49.5883)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135BE #92BE35
analogous
#354DBE #6135BE #A535BE
triadic
#6135BE #BE6135 #35BE61
tetradic
#6135BE #BE354D #92BE35 #35BEA5
square
#6135BE #BE354D #92BE35 #35BEA5
split-complementary
#6135BE #BEA535 #4DBE35
monochromatic
#301A5E #49288E #6135BE #835ED2 #A88EDF

Accessibility & contrast

On white

7.61
#6135BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6135BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6135BE#FFFFFF#000000##FFFFFF
##6135BE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#425976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6135be;
/* rgb */ color: rgb(97, 53, 190);
/* oklch */ color: oklch(46.7% 0.200 291.4);
Tailwind
colors: {
  custom: {
    50: '#9770d3',
    500: '#6135be',
    950: '#000000',
  },
}
SCSS
$custom: #6135be;
$custom-light: #9770d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6135be",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 259.27,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.19996,
    "h": 291.4
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#6135BE
secondary
#B4CA85
accent
#E048AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6135BE

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

Preview Lab → · Contrast checker → · Palette generator →

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