#6233A2#6233A2

#6233A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.170 H 298.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6233A2
RGBrgb(98, 51, 162)
HSLhsl(265, 52%, 42%)
HSVhsv(265, 69%, 64%)
CMYKcmyk(39.5%, 68.5%, 0%, 36.5%)
CIE-LABlab(33.08, 44.35, -52.34)
CIE-LCHlch(33.08, 68.61, 310.28°)
OKLaboklab(44.25% 0.0814 -0.1493)
OKLCHoklch(44.25% 0.17 298.6)
XYZxyz(12.7408, 7.5728, 34.9659)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233A2 #73A233
analogous
#333CA2 #6233A2 #9A33A2
triadic
#6233A2 #A26233 #33A262
tetradic
#6233A2 #A2333C #73A233 #33A29A
square
#6233A2 #A2333C #73A233 #33A29A
split-complementary
#6233A2 #A29A33 #3CA233
monochromatic
#2A1645 #462473 #6233A2 #804CC7 #A17AD5

Accessibility & contrast

On white

8.35
#6233A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6233A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6233A2#FFFFFF#000000##FFFFFF
##6233A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#534D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6233a2;
/* rgb */ color: rgb(98, 51, 162);
/* oklch */ color: oklch(44.3% 0.170 298.6);
Tailwind
colors: {
  custom: {
    50: '#946ebe',
    500: '#6233a2',
    950: '#000000',
  },
}
SCSS
$custom: #6233a2;
$custom-light: #946ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6233a2",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 265.405,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.17003,
    "h": 298.6
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#6233A2
secondary
#9EBE73
accent
#DC4C9F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6233A2

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

Preview Lab → · Contrast checker → · Palette generator →

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