#6230AE#6230AE

#6230AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.187 H 296.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#6230AE
RGBrgb(98, 48, 174)
HSLhsl(264, 57%, 44%)
HSVhsv(264, 72%, 68%)
CMYKcmyk(43.7%, 72.4%, 0%, 31.8%)
CIE-LABlab(33.49, 49.04, -58.87)
CIE-LCHlch(33.49, 76.62, 309.79°)
OKLaboklab(44.85% 0.0823 -0.1684)
OKLCHoklch(44.85% 0.187 296)
XYZxyz(13.7319, 7.7663, 40.8117)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230AE #7CAE30
analogous
#303DAE #6230AE #A130AE
triadic
#6230AE #AE6230 #30AE62
tetradic
#6230AE #AE303D #7CAE30 #30AEA1
square
#6230AE #AE303D #7CAE30 #30AEA1
split-complementary
#6230AE #AEA130 #3DAE30
monochromatic
#2C164E #47237E #6230AE #804DCE #A37DDB

Accessibility & contrast

On white

8.22
#6230AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6230AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230AE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230AE#FFFFFF#000000##FFFFFF
##6230AE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#4E506C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6230ae;
/* rgb */ color: rgb(98, 48, 174);
/* oklch */ color: oklch(44.8% 0.187 296.0);
Tailwind
colors: {
  custom: {
    50: '#956dc7',
    500: '#6230ae',
    950: '#000000',
  },
}
SCSS
$custom: #6230ae;
$custom-light: #956dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6230ae",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 263.81,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.18749,
    "h": 296
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#6230AE
secondary
#A5C476
accent
#E048A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230AE

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

Preview Lab → · Contrast checker → · Palette generator →

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