#6233AF#6233AF

#6233AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.185 H 295.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6233AF
RGBrgb(98, 51, 175)
HSLhsl(263, 55%, 44%)
HSVhsv(263, 71%, 69%)
CMYKcmyk(44%, 70.9%, 0%, 31.4%)
CIE-LABlab(34.11, 47.81, -58.47)
CIE-LCHlch(34.11, 75.53, 309.28°)
OKLaboklab(45.31% 0.0792 -0.1673)
OKLCHoklch(45.31% 0.185 295.3)
XYZxyz(13.9566, 8.0591, 41.3694)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233AF #80AF33
analogous
#3342AF #6233AF #A033AF
triadic
#6233AF #AF6233 #33AF62
tetradic
#6233AF #AF3342 #80AF33 #33AFA0
square
#6233AF #AF3342 #80AF33 #33AFA0
split-complementary
#6233AF #AFA033 #42AF33
monochromatic
#2D1750 #472580 #6233AF #8152CD #A382DB

Accessibility & contrast

On white

8.04
#6233AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6233AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233AF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233AF#FFFFFF#000000##FFFFFF
##6233AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6233af;
/* rgb */ color: rgb(98, 51, 175);
/* oklch */ color: oklch(45.3% 0.185 295.3);
Tailwind
colors: {
  custom: {
    50: '#956fc8',
    500: '#6233af',
    950: '#000000',
  },
}
SCSS
$custom: #6233af;
$custom-light: #956fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6233af",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 262.742,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.18509,
    "h": 295.3
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#6233AF
secondary
#A8C47A
accent
#DE4AA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233AF

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

Preview Lab → · Contrast checker → · Palette generator →

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