#6235BB#6235BB

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

Color values

HEX#6235BB
RGBrgb(98, 53, 187)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(47.6%, 71.7%, 0%, 26.7%)
CIE-LABlab(35.46, 50.05, -63.37)
CIE-LCHlch(35.46, 80.75, 308.30°)
OKLaboklab(46.58% 0.075 -0.1817)
OKLCHoklch(46.58% 0.197 292.4)
XYZxyz(15.2772, 8.7302, 47.8842)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235BB #8EBB35
analogous
#354BBB #6235BB #A535BB
triadic
#6235BB #BB6235 #35BB62
tetradic
#6235BB #BB354B #8EBB35 #35BBA5
square
#6235BB #BB354B #8EBB35 #35BBA5
split-complementary
#6235BB #BBA535 #4BBB35
monochromatic
#301A5C #49278B #6235BB #835CD1 #A88CDE

Accessibility & contrast

On white

7.65
#6235BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6235BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235BB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235BB#FFFFFF#000000##FFFFFF
##6235BB1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6235bb;
/* rgb */ color: rgb(98, 53, 187);
/* oklch */ color: oklch(46.6% 0.197 292.4);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6235bb',
    950: '#000000',
  },
}
SCSS
$custom: #6235bb;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6235bb",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 260.149,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4658,
    "c": 0.19654,
    "h": 292.4
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#6235BB
secondary
#B1C983
accent
#DF49AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6235BB

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

Preview Lab → · Contrast checker → · Palette generator →

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