#6135CC#6135CC

#6135CC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.216 H 288.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6135CC
RGBrgb(97, 53, 204)
HSLhsl(257, 60%, 50%)
HSVhsv(257, 74%, 80%)
CMYKcmyk(52.5%, 74%, 0%, 20%)
CIE-LABlab(36.83, 54.54, -71.07)
CIE-LCHlch(36.83, 89.59, 307.50°)
OKLaboklab(47.98% 0.0697 -0.2043)
OKLCHoklch(47.98% 0.216 288.8)
XYZxyz(17.0988, 9.4464, 58.0374)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135CC #A0CC35
analogous
#3555CC #6135CC #AC35CC
triadic
#6135CC #CC6135 #35CC61
tetradic
#6135CC #CC3555 #A0CC35 #35CCAC
square
#6135CC #CC3555 #A0CC35 #35CCAC
split-complementary
#6135CC #CCAC35 #55CC35
monochromatic
#331B6B #4A279C #6135CC #8766D8 #AD97E5

Accessibility & contrast

On white

7.27
#6135CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6135CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135CC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135CC#FFFFFF#000000##FFFFFF
##6135CC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#385E7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6135cc;
/* rgb */ color: rgb(97, 53, 204);
/* oklch */ color: oklch(48.0% 0.216 288.8);
Tailwind
colors: {
  custom: {
    50: '#9871dd',
    500: '#6135cc',
    950: '#000000',
  },
}
SCSS
$custom: #6135cc;
$custom-light: #9871dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6135cc",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 257.483,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.21586,
    "h": 288.8
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#6135CC
secondary
#BCD08D
accent
#E345B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135CC

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

Preview Lab → · Contrast checker → · Palette generator →

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