#6135AF#6135AF

#6135AF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.183 H 294.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6135AF
RGBrgb(97, 53, 175)
HSLhsl(262, 54%, 45%)
HSVhsv(262, 70%, 69%)
CMYKcmyk(44.6%, 69.7%, 0%, 31.4%)
CIE-LABlab(34.36, 46.60, -58.06)
CIE-LCHlch(34.36, 74.45, 308.75°)
OKLaboklab(45.47% 0.0758 -0.1661)
OKLCHoklch(45.47% 0.183 294.5)
XYZxyz(13.9386, 8.1824, 41.3941)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135AF #83AF35
analogous
#3546AF #6135AF #9E35AF
triadic
#6135AF #AF6135 #35AF61
tetradic
#6135AF #AF3546 #83AF35 #35AF9E
square
#6135AF #AF3546 #83AF35 #35AF9E
split-complementary
#6135AF #AF9E35 #46AF35
monochromatic
#2D1951 #472780 #6135AF #8056CC #A385DA

Accessibility & contrast

On white

7.96
#6135AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6135AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135AF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135AF#FFFFFF#000000##FFFFFF
##6135AF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#4B536E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6135af;
/* rgb */ color: rgb(97, 53, 175);
/* oklch */ color: oklch(45.5% 0.183 294.5);
Tailwind
colors: {
  custom: {
    50: '#9570c8',
    500: '#6135af',
    950: '#000000',
  },
}
SCSS
$custom: #6135af;
$custom-light: #9570c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6135af",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 261.639,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.1826,
    "h": 294.5
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#6135AF
secondary
#AAC47C
accent
#DD4BA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6135AF

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

Preview Lab → · Contrast checker → · Palette generator →

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