#6233AB#6233AB

#6233AB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.180 H 296.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6233AB
RGBrgb(98, 51, 171)
HSLhsl(264, 54%, 44%)
HSVhsv(264, 70%, 67%)
CMYKcmyk(42.7%, 70.2%, 0%, 32.9%)
CIE-LABlab(33.78, 46.74, -56.60)
CIE-LCHlch(33.78, 73.41, 309.55°)
OKLaboklab(44.98% 0.08 -0.1618)
OKLCHoklch(44.98% 0.18 296.3)
XYZxyz(13.5696, 7.9043, 39.3309)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233AB #7CAB33
analogous
#3340AB #6233AB #9E33AB
triadic
#6233AB #AB6233 #33AB62
tetradic
#6233AB #AB3340 #7CAB33 #33AB9E
square
#6233AB #AB3340 #7CAB33 #33AB9E
split-complementary
#6233AB #AB9E33 #40AB33
monochromatic
#2C174D #47257C #6233AB #8050CB #A37FD9

Accessibility & contrast

On white

8.14
#6233AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6233AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233AB#FFFFFF#000000##FFFFFF
##6233AB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#4F516B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6233ab;
/* rgb */ color: rgb(98, 51, 171);
/* oklch */ color: oklch(45.0% 0.180 296.3);
Tailwind
colors: {
  custom: {
    50: '#956ec5',
    500: '#6233ab',
    950: '#000000',
  },
}
SCSS
$custom: #6233ab;
$custom-light: #956ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6233ab",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 263.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.18048,
    "h": 296.3
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#6233AB
secondary
#A5C278
accent
#DD4AA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233AB

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

Preview Lab → · Contrast checker → · Palette generator →

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