#6233B3#6233B3

#6233B3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.190 H 294.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6233B3
RGBrgb(98, 51, 179)
HSLhsl(262, 56%, 45%)
HSVhsv(262, 72%, 70%)
CMYKcmyk(45.3%, 71.5%, 0%, 29.8%)
CIE-LABlab(34.43, 48.89, -60.31)
CIE-LCHlch(34.43, 77.64, 309.03°)
OKLaboklab(45.65% 0.0785 -0.1727)
OKLCHoklch(45.65% 0.19 294.4)
XYZxyz(14.3553, 8.2186, 43.4691)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233B3 #84B333
analogous
#3344B3 #6233B3 #A233B3
triadic
#6233B3 #B36233 #33B362
tetradic
#6233B3 #B33344 #84B333 #33B3A2
square
#6233B3 #B33344 #84B333 #33B3A2
split-complementary
#6233B3 #B3A233 #44B333
monochromatic
#2E1854 #482583 #6233B3 #8155CE #A584DC

Accessibility & contrast

On white

7.94
#6233B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6233B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233B3#FFFFFF#000000##FFFFFF
##6233B31.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#4B546F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6233b3;
/* rgb */ color: rgb(98, 51, 179);
/* oklch */ color: oklch(45.6% 0.190 294.4);
Tailwind
colors: {
  custom: {
    50: '#966fcb',
    500: '#6233b3',
    950: '#000000',
  },
}
SCSS
$custom: #6233b3;
$custom-light: #966fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6233b3",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 262.031,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.18967,
    "h": 294.4
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#6233B3
secondary
#ABC67C
accent
#DF49A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233B3

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

Preview Lab → · Contrast checker → · Palette generator →

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