#6233CD#6233CD

#6233CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.219 H 289.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6233CD
RGBrgb(98, 51, 205)
HSLhsl(258, 61%, 50%)
HSVhsv(258, 75%, 80%)
CMYKcmyk(52.2%, 75.1%, 0%, 19.6%)
CIE-LABlab(36.69, 55.91, -71.88)
CIE-LCHlch(36.69, 91.06, 307.87°)
OKLaboklab(47.93% 0.0724 -0.2066)
OKLCHoklch(47.93% 0.219 289.3)
XYZxyz(17.2371, 9.3713, 58.6464)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233CD #9ECD33
analogous
#3351CD #6233CD #AF33CD
triadic
#6233CD #CD6233 #33CD62
tetradic
#6233CD #CD3351 #9ECD33 #33CDAF
square
#6233CD #CD3351 #9ECD33 #33CDAF
split-complementary
#6233CD #CDAF33 #51CD33
monochromatic
#331A6B #4A269C #6233CD #8864D9 #AE95E5

Accessibility & contrast

On white

7.31
#6233CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6233CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233CD#FFFFFF#000000##FFFFFF
##6233CD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#3A5E7E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6233cd;
/* rgb */ color: rgb(98, 51, 205);
/* oklch */ color: oklch(47.9% 0.219 289.3);
Tailwind
colors: {
  custom: {
    50: '#9970dd',
    500: '#6233cd',
    950: '#000000',
  },
}
SCSS
$custom: #6233cd;
$custom-light: #9970dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6233cd",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 205
  },
  "hsl": {
    "h": 258.312,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4793,
    "c": 0.21894,
    "h": 289.3
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#6233CD
secondary
#BBD08B
accent
#E444B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6233CD

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

Preview Lab → · Contrast checker → · Palette generator →

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