#6835BF#6835BF

#6835BF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.5% C 0.201 H 294.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6835BF
RGBrgb(104, 53, 191)
HSLhsl(262, 57%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.5%, 72.3%, 0%, 25.1%)
CIE-LABlab(36.46, 52.14, -64.06)
CIE-LCHlch(36.46, 82.59, 309.14°)
OKLaboklab(47.55% 0.0828 -0.1835)
OKLCHoklch(47.55% 0.201 294.3)
XYZxyz(16.3834, 9.2504, 50.2024)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835BF #8CBF35
analogous
#3547BF #6835BF #AD35BF
triadic
#6835BF #BF6835 #35BF68
tetradic
#6835BF #BF3547 #8CBF35 #35BFAD
square
#6835BF #BF3547 #8CBF35 #35BFAD
split-complementary
#6835BF #BFAD35 #47BF35
monochromatic
#341A5F #4E288F #6835BF #895FD3 #AD8FE0

Accessibility & contrast

On white

7.37
#6835BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6835BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835BF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835BF#FFFFFF#000000##FFFFFF
##6835BF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#4F5977
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6835bf;
/* rgb */ color: rgb(104, 53, 191);
/* oklch */ color: oklch(47.5% 0.201 294.3);
Tailwind
colors: {
  custom: {
    50: '#9b71d3',
    500: '#6835bf',
    950: '#000000',
  },
}
SCSS
$custom: #6835bf;
$custom-light: #9b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6835bf",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 262.174,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.20132,
    "h": 294.3
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#6835BF
secondary
#B1CA85
accent
#E048A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6835BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6835BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva