#6233C2#6233C2

#6233C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.207 H 291.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6233C2
RGBrgb(98, 51, 194)
HSLhsl(260, 58%, 48%)
HSVhsv(260, 74%, 76%)
CMYKcmyk(49.5%, 73.7%, 0%, 23.9%)
CIE-LABlab(35.71, 52.93, -67.07)
CIE-LCHlch(35.71, 85.44, 308.28°)
OKLaboklab(46.94% 0.0751 -0.1925)
OKLCHoklch(46.94% 0.207 291.3)
XYZxyz(15.9557, 8.8587, 51.8977)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233C2 #93C233
analogous
#334CC2 #6233C2 #A933C2
triadic
#6233C2 #C26233 #33C262
tetradic
#6233C2 #C2334C #93C233 #33C2A9
square
#6233C2 #C2334C #93C233 #33C2A9
split-complementary
#6233C2 #C2A933 #4CC233
monochromatic
#311A61 #4A2692 #6233C2 #855ED5 #A98EE1

Accessibility & contrast

On white

7.58
#6233C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6233C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233C2#FFFFFF#000000##FFFFFF
##6233C21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#425978
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6233c2;
/* rgb */ color: rgb(98, 51, 194);
/* oklch */ color: oklch(46.9% 0.207 291.3);
Tailwind
colors: {
  custom: {
    50: '#986fd6',
    500: '#6233c2',
    950: '#000000',
  },
}
SCSS
$custom: #6233c2;
$custom-light: #986fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#6233c2",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 259.72,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.20668,
    "h": 291.3
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#6233C2
secondary
#B5CC85
accent
#E246AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6233C2

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

Preview Lab → · Contrast checker → · Palette generator →

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