#6230AA#6230AA

#6230AA is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.183 H 297.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6230AA
RGBrgb(98, 48, 170)
HSLhsl(265, 56%, 43%)
HSVhsv(265, 72%, 67%)
CMYKcmyk(42.4%, 71.8%, 0%, 33.3%)
CIE-LABlab(33.16, 47.98, -57.02)
CIE-LCHlch(33.16, 74.52, 310.08°)
OKLaboklab(44.51% 0.0831 -0.163)
OKLCHoklch(44.51% 0.183 297)
XYZxyz(13.3478, 7.6126, 38.7885)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230AA #78AA30
analogous
#303BAA #6230AA #9F30AA
triadic
#6230AA #AA6230 #30AA62
tetradic
#6230AA #AA303B #78AA30 #30AA9F
square
#6230AA #AA303B #78AA30 #30AA9F
split-complementary
#6230AA #AA9F30 #3BAA30
monochromatic
#2B154B #46237A #6230AA #804BCC #A27BDA

Accessibility & contrast

On white

8.32
#6230AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6230AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6230AA#FFFFFF#000000##FFFFFF
##6230AA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#504F6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6230aa;
/* rgb */ color: rgb(98, 48, 170);
/* oklch */ color: oklch(44.5% 0.183 297.0);
Tailwind
colors: {
  custom: {
    50: '#956dc4',
    500: '#6230aa',
    950: '#000000',
  },
}
SCSS
$custom: #6230aa;
$custom-light: #956dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6230aa",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 264.59,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44513,
    "c": 0.18297,
    "h": 297
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#6230AA
secondary
#A2C274
accent
#DF49A1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230AA

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

Preview Lab → · Contrast checker → · Palette generator →

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