#6233AC#6233AC

#6233AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.182 H 296.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6233AC
RGBrgb(98, 51, 172)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 67%)
CMYKcmyk(43%, 70.3%, 0%, 32.5%)
CIE-LABlab(33.86, 47.01, -57.07)
CIE-LCHlch(33.86, 73.94, 309.48°)
OKLaboklab(45.06% 0.0798 -0.1632)
OKLCHoklch(45.06% 0.182 296.1)
XYZxyz(13.6653, 7.9426, 39.8348)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233AC #7DAC33
analogous
#3340AC #6233AC #9E33AC
triadic
#6233AC #AC6233 #33AC62
tetradic
#6233AC #AC3340 #7DAC33 #33AC9E
square
#6233AC #AC3340 #7DAC33 #33AC9E
split-complementary
#6233AC #AC9E33 #40AC33
monochromatic
#2C174E #47257D #6233AC #8051CB #A380D9

Accessibility & contrast

On white

8.11
#6233AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6233AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233AC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233AC#FFFFFF#000000##FFFFFF
##6233AC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4E516C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6233ac;
/* rgb */ color: rgb(98, 51, 172);
/* oklch */ color: oklch(45.1% 0.182 296.1);
Tailwind
colors: {
  custom: {
    50: '#956ec6',
    500: '#6233ac',
    950: '#000000',
  },
}
SCSS
$custom: #6233ac;
$custom-light: #956ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6233ac",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 263.306,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.18164,
    "h": 296.1
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#6233AC
secondary
#A6C278
accent
#DE4AA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233AC

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

Preview Lab → · Contrast checker → · Palette generator →

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