#6F38DB#6F38DB

#6F38DB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.229 H 291.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6F38DB
RGBrgb(111, 56, 219)
HSLhsl(260, 69%, 54%)
HSVhsv(260, 74%, 86%)
CMYKcmyk(49.3%, 74.4%, 0%, 14.1%)
CIE-LABlab(40.12, 59.20, -74.28)
CIE-LCHlch(40.12, 94.98, 308.55°)
OKLaboklab(51.04% 0.0839 -0.2133)
OKLCHoklch(51.04% 0.229 291.5)
XYZxyz(20.7523, 11.3215, 68.0959)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38DB #A4DB38
analogous
#3853DB #6F38DB #C038DB
triadic
#6F38DB #DB6F38 #38DB6F
tetradic
#6F38DB #DB3853 #A4DB38 #38DBC0
square
#6F38DB #DB3853 #A4DB38 #38DBC0
split-complementary
#6F38DB #DBC038 #53DB38
monochromatic
#3B1781 #5321B5 #6F38DB #956CE4 #BAA0EE

Accessibility & contrast

On white

6.43
#6F38DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6F38DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38DB#FFFFFF#000000##FFFFFF
##6F38DB1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#4B6587
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f38db;
/* rgb */ color: rgb(111, 56, 219);
/* oklch */ color: oklch(51.0% 0.229 291.5);
Tailwind
colors: {
  custom: {
    50: '#a274e7',
    500: '#6f38db',
    950: '#000000',
  },
}
SCSS
$custom: #6f38db;
$custom-light: #a274e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38db",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 260.245,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.22918,
    "h": 291.5
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#6F38DB
secondary
#C3DA95
accent
#EC3CB1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F38DB

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

Preview Lab → · Contrast checker → · Palette generator →

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