#6230AF#6230AF

#6230AF is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.189 H 295.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6230AF
RGBrgb(98, 48, 175)
HSLhsl(264, 57%, 44%)
HSVhsv(264, 73%, 69%)
CMYKcmyk(44%, 72.6%, 0%, 31.4%)
CIE-LABlab(33.57, 49.30, -59.33)
CIE-LCHlch(33.57, 77.14, 309.72°)
OKLaboklab(44.93% 0.0821 -0.1698)
OKLCHoklch(44.93% 0.189 295.8)
XYZxyz(13.8298, 7.8054, 41.3271)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230AF #7DAF30
analogous
#303DAF #6230AF #A130AF
triadic
#6230AF #AF6230 #30AF62
tetradic
#6230AF #AF303D #7DAF30 #30AFA1
square
#6230AF #AF303D #7DAF30 #30AFA1
split-complementary
#6230AF #AFA130 #3DAF30
monochromatic
#2C164F #47237F #6230AF #804ECE #A37EDC

Accessibility & contrast

On white

8.20
#6230AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6230AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6230AF#FFFFFF#000000##FFFFFF
##6230AF1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6230af;
/* rgb */ color: rgb(98, 48, 175);
/* oklch */ color: oklch(44.9% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#966dc8',
    500: '#6230af',
    950: '#000000',
  },
}
SCSS
$custom: #6230af;
$custom-light: #966dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6230af",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 263.622,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.18862,
    "h": 295.8
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6230AF

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

Preview Lab → · Contrast checker → · Palette generator →

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