#6233B5#6233B5

#6233B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.192 H 294.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6233B5
RGBrgb(98, 51, 181)
HSLhsl(262, 56%, 45%)
HSVhsv(262, 72%, 71%)
CMYKcmyk(45.9%, 71.8%, 0%, 29%)
CIE-LABlab(34.60, 49.42, -61.23)
CIE-LCHlch(34.60, 78.68, 308.91°)
OKLaboklab(45.82% 0.078 -0.1754)
OKLCHoklch(45.82% 0.192 294)
XYZxyz(14.5590, 8.3001, 44.5421)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233B5 #86B533
analogous
#3345B5 #6233B5 #A333B5
triadic
#6233B5 #B56233 #33B562
tetradic
#6233B5 #B53345 #86B533 #33B5A3
square
#6233B5 #B53345 #86B533 #33B5A3
split-complementary
#6233B5 #B5A333 #45B533
monochromatic
#2E1856 #482685 #6233B5 #8256CF #A586DD

Accessibility & contrast

On white

7.89
#6233B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6233B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233B5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233B5#FFFFFF#000000##FFFFFF
##6233B51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#4A5471
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6233b5;
/* rgb */ color: rgb(98, 51, 181);
/* oklch */ color: oklch(45.8% 0.192 294.0);
Tailwind
colors: {
  custom: {
    50: '#966fcc',
    500: '#6233b5',
    950: '#000000',
  },
}
SCSS
$custom: #6233b5;
$custom-light: #966fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6233b5",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 261.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.19196,
    "h": 294
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#6233B5
secondary
#ACC67D
accent
#DF48A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233B5

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

Preview Lab → · Contrast checker → · Palette generator →

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