#6830AF#6830AF

#6830AF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.189 H 298.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6830AF
RGBrgb(104, 48, 175)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 73%, 69%)
CMYKcmyk(40.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(34.30, 50.38, -58.12)
CIE-LCHlch(34.30, 76.92, 310.92°)
OKLaboklab(45.61% 0.0909 -0.166)
OKLCHoklch(45.61% 0.189 298.7)
XYZxyz(14.5018, 8.1519, 41.3586)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830AF #77AF30
analogous
#3037AF #6830AF #A730AF
triadic
#6830AF #AF6830 #30AF68
tetradic
#6830AF #AF3037 #77AF30 #30AFA7
square
#6830AF #AF3037 #77AF30 #30AFA7
split-complementary
#6830AF #AFA730 #37AF30
monochromatic
#2F164F #4B237F #6830AF #874ECE #A77EDC

Accessibility & contrast

On white

7.98
#6830AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6830AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830AF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830AF#FFFFFF#000000##FFFFFF
##6830AF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#57506C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6830af;
/* rgb */ color: rgb(104, 48, 175);
/* oklch */ color: oklch(45.6% 0.189 298.7);
Tailwind
colors: {
  custom: {
    50: '#996dc8',
    500: '#6830af',
    950: '#000000',
  },
}
SCSS
$custom: #6830af;
$custom-light: #996dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6830af",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 266.457,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.18927,
    "h": 298.7
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#6830AF
secondary
#A2C476
accent
#E0489D
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6830AF

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

Preview Lab → · Contrast checker → · Palette generator →

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