#6233AA#6233AA

#6233AA is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.179 H 296.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6233AA
RGBrgb(98, 51, 170)
HSLhsl(264, 54%, 43%)
HSVhsv(264, 70%, 67%)
CMYKcmyk(42.4%, 70%, 0%, 33.3%)
CIE-LABlab(33.70, 46.48, -56.14)
CIE-LCHlch(33.70, 72.88, 309.62°)
OKLaboklab(44.9% 0.0801 -0.1604)
OKLCHoklch(44.9% 0.179 296.5)
XYZxyz(13.4746, 7.8663, 38.8308)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233AA #7BAA33
analogous
#3340AA #6233AA #9D33AA
triadic
#6233AA #AA6233 #33AA62
tetradic
#6233AA #AA3340 #7BAA33 #33AA9D
square
#6233AA #AA3340 #7BAA33 #33AA9D
split-complementary
#6233AA #AA9D33 #40AA33
monochromatic
#2C174C #47257B #6233AA #8050CA #A27FD9

Accessibility & contrast

On white

8.16
#6233AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6233AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233AA#FFFFFF#000000##FFFFFF
##6233AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#4F506B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6233aa;
/* rgb */ color: rgb(98, 51, 170);
/* oklch */ color: oklch(44.9% 0.179 296.5);
Tailwind
colors: {
  custom: {
    50: '#956ec4',
    500: '#6233aa',
    950: '#000000',
  },
}
SCSS
$custom: #6233aa;
$custom-light: #956ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6233aa",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 263.697,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.17933,
    "h": 296.5
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#6233AA
secondary
#A4C277
accent
#DD4BA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233AA

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

Preview Lab → · Contrast checker → · Palette generator →

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