#6A30B9#6A30B9

#6A30B9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.200 H 297.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6A30B9
RGBrgb(106, 48, 185)
HSLhsl(265, 59%, 46%)
HSVhsv(265, 74%, 73%)
CMYKcmyk(42.7%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.36, 53.28, -62.31)
CIE-LCHlch(35.36, 81.98, 310.53°)
OKLaboklab(46.67% 0.0916 -0.1783)
OKLCHoklch(46.67% 0.2 297.2)
XYZxyz(15.7555, 8.6806, 46.7349)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A30B9 #7FB930
analogous
#303BB9 #6A30B9 #AE30B9
triadic
#6A30B9 #B96A30 #30B96A
tetradic
#6A30B9 #B9303B #7FB930 #30B9AE
square
#6A30B9 #B9303B #7FB930 #30B9AE
split-complementary
#6A30B9 #B9AE30 #3BB930
monochromatic
#321758 #4E2388 #6A30B9 #8954D3 #AB84DF

Accessibility & contrast

On white

7.67
#6A30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6A30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A30B9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A30B9#FFFFFF#000000##FFFFFF
##6A30B91.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#565472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6a30b9;
/* rgb */ color: rgb(106, 48, 185);
/* oklch */ color: oklch(46.7% 0.200 297.2);
Tailwind
colors: {
  custom: {
    50: '#9c6ecf',
    500: '#6a30b9',
    950: '#000000',
  },
}
SCSS
$custom: #6a30b9;
$custom-light: #9c6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a30b9",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 265.401,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.20042,
    "h": 297.2
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#6A30B9
secondary
#A8C97C
accent
#E246A0
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A30B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6A30B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva