#6230B6#6230B6

#6230B6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.196 H 294.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6230B6
RGBrgb(98, 48, 182)
HSLhsl(262, 58%, 45%)
HSVhsv(262, 74%, 71%)
CMYKcmyk(46.2%, 73.6%, 0%, 28.6%)
CIE-LABlab(34.16, 51.15, -62.53)
CIE-LCHlch(34.16, 80.79, 309.29°)
OKLaboklab(45.53% 0.0806 -0.1792)
OKLCHoklch(45.53% 0.196 294.2)
XYZxyz(14.5351, 8.0876, 45.0421)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230B6 #84B630
analogous
#3041B6 #6230B6 #A530B6
triadic
#6230B6 #B66230 #30B662
tetradic
#6230B6 #B63041 #84B630 #30B6A5
square
#6230B6 #B63041 #84B630 #30B6A5
split-complementary
#6230B6 #B6A530 #41B630
monochromatic
#2E1655 #482386 #6230B6 #8152D1 #A582DE

Accessibility & contrast

On white

8.02
#6230B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6230B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230B6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230B6#FFFFFF#000000##FFFFFF
##6230B61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#495370
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6230b6;
/* rgb */ color: rgb(98, 48, 182);
/* oklch */ color: oklch(45.5% 0.196 294.2);
Tailwind
colors: {
  custom: {
    50: '#966dcd',
    500: '#6230b6',
    950: '#000000',
  },
}
SCSS
$custom: #6230b6;
$custom-light: #966dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6230b6",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 262.388,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.19647,
    "h": 294.2
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#6230B6
secondary
#ABC77B
accent
#E146A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6230B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6230B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva