#6233AE#6233AE

#6233AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.184 H 295.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6233AE
RGBrgb(98, 51, 174)
HSLhsl(263, 55%, 44%)
HSVhsv(263, 71%, 68%)
CMYKcmyk(43.7%, 70.7%, 0%, 31.8%)
CIE-LABlab(34.02, 47.54, -58.00)
CIE-LCHlch(34.02, 75.00, 309.34°)
OKLaboklab(45.23% 0.0794 -0.1659)
OKLCHoklch(45.23% 0.184 295.6)
XYZxyz(13.8588, 8.0200, 40.8540)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233AE #7FAE33
analogous
#3341AE #6233AE #A033AE
triadic
#6233AE #AE6233 #33AE62
tetradic
#6233AE #AE3341 #7FAE33 #33AEA0
square
#6233AE #AE3341 #7FAE33 #33AEA0
split-complementary
#6233AE #AEA033 #41AE33
monochromatic
#2D174F #47257F #6233AE #8152CC #A381DA

Accessibility & contrast

On white

8.06
#6233AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6233AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233AE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233AE#FFFFFF#000000##FFFFFF
##6233AE1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#4D526D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6233ae;
/* rgb */ color: rgb(98, 51, 174);
/* oklch */ color: oklch(45.2% 0.184 295.6);
Tailwind
colors: {
  custom: {
    50: '#956fc7',
    500: '#6233ae',
    950: '#000000',
  },
}
SCSS
$custom: #6233ae;
$custom-light: #956fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6233ae",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 262.927,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.18394,
    "h": 295.6
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#6233AE
secondary
#A7C379
accent
#DE4AA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233AE

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

Preview Lab → · Contrast checker → · Palette generator →

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