#6234BB#6234BB

#6234BB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.198 H 292.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6234BB
RGBrgb(98, 52, 187)
HSLhsl(260, 56%, 47%)
HSVhsv(260, 72%, 73%)
CMYKcmyk(47.6%, 72.2%, 0%, 26.7%)
CIE-LABlab(35.28, 50.55, -63.66)
CIE-LCHlch(35.28, 81.29, 308.45°)
OKLaboklab(46.45% 0.0759 -0.1825)
OKLCHoklch(46.45% 0.198 292.6)
XYZxyz(15.2321, 8.6400, 47.8692)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234BB #8DBB34
analogous
#344ABB #6234BB #A534BB
triadic
#6234BB #BB6234 #34BB62
tetradic
#6234BB #BB344A #8DBB34 #34BBA5
square
#6234BB #BB344A #8DBB34 #34BBA5
split-complementary
#6234BB #BBA534 #4ABB34
monochromatic
#30195B #49278B #6234BB #835BD1 #A78BDF

Accessibility & contrast

On white

7.70
#6234BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6234BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234BB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234BB#FFFFFF#000000##FFFFFF
##6234BB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6234bb;
/* rgb */ color: rgb(98, 52, 187);
/* oklch */ color: oklch(46.5% 0.198 292.6);
Tailwind
colors: {
  custom: {
    50: '#9770d0',
    500: '#6234bb',
    950: '#000000',
  },
}
SCSS
$custom: #6234bb;
$custom-light: #9770d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6234bb",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 260.444,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.19767,
    "h": 292.6
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#6234BB
secondary
#B1C982
accent
#E048AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6234BB

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

Preview Lab → · Contrast checker → · Palette generator →

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