#6233BA#6233BA

#6233BA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.198 H 292.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6233BA
RGBrgb(98, 51, 186)
HSLhsl(261, 57%, 46%)
HSVhsv(261, 73%, 73%)
CMYKcmyk(47.3%, 72.6%, 0%, 27.1%)
CIE-LABlab(35.02, 50.77, -63.50)
CIE-LCHlch(35.02, 81.30, 308.64°)
OKLaboklab(46.24% 0.077 -0.182)
OKLCHoklch(46.24% 0.198 292.9)
XYZxyz(15.0813, 8.5090, 47.2926)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233BA #8BBA33
analogous
#3348BA #6233BA #A633BA
triadic
#6233BA #BA6233 #33BA62
tetradic
#6233BA #BA3348 #8BBA33 #33BAA6
square
#6233BA #BA3348 #8BBA33 #33BAA6
split-complementary
#6233BA #BAA633 #48BA33
monochromatic
#2F195A #49268A #6233BA #8359D1 #A789DF

Accessibility & contrast

On white

7.77
#6233BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6233BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233BA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233BA#FFFFFF#000000##FFFFFF
##6233BA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#475673
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6233ba;
/* rgb */ color: rgb(98, 51, 186);
/* oklch */ color: oklch(46.2% 0.198 292.9);
Tailwind
colors: {
  custom: {
    50: '#976fd0',
    500: '#6233ba',
    950: '#000000',
  },
}
SCSS
$custom: #6233ba;
$custom-light: #976fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6233ba",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 260.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46243,
    "c": 0.19766,
    "h": 292.9
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#6233BA
secondary
#AFC980
accent
#E048AB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6233BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6233BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva