#6F30B8#6F30B8

#6F30B8 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.200 H 299.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6F30B8
RGBrgb(111, 48, 184)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.7%, 73.9%, 0%, 27.8%)
CIE-LABlab(35.90, 53.89, -60.82)
CIE-LCHlch(35.90, 81.26, 311.54°)
OKLaboklab(47.16% 0.0991 -0.1737)
OKLCHoklch(47.16% 0.2 299.7)
XYZxyz(16.2621, 8.9539, 46.2096)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30B8 #79B830
analogous
#3035B8 #6F30B8 #B330B8
triadic
#6F30B8 #B86F30 #30B86F
tetradic
#6F30B8 #B83035 #79B830 #30B8B3
square
#6F30B8 #B83035 #79B830 #30B8B3
split-complementary
#6F30B8 #B8B330 #35B830
monochromatic
#341757 #522387 #6F30B8 #8E53D2 #AE84DF

Accessibility & contrast

On white

7.52
#6F30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6F30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30B8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30B8#FFFFFF#000000##FFFFFF
##6F30B81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#5E5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f30b8;
/* rgb */ color: rgb(111, 48, 184);
/* oklch */ color: oklch(47.2% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#6f30b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f30b8;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30b8",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 267.794,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.19998,
    "h": 299.7
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#6F30B8
secondary
#A5C87C
accent
#E2469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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