#3F00FF#3F00FF

#3F00FF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 47.3% C 0.301 H 273.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3F00FF
RGBrgb(63, 0, 255)
HSLhsl(255, 100%, 50%)
HSVhsv(255, 100%, 100%)
CMYKcmyk(75.3%, 100%, 0%, 0%)
CIE-LABlab(34.55, 79.98, -104.04)
CIE-LCHlch(34.55, 131.23, 307.55°)
OKLaboklab(47.32% 0.0189 -0.3002)
OKLCHoklch(47.32% 0.301 273.6)
XYZxyz(20.0939, 8.2746, 95.1265)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F00FF #C0FF00
analogous
#0040FF #3F00FF #BF00FF
triadic
#3F00FF #FF3F00 #00FF3F
tetradic
#3F00FF #FF0040 #C0FF00 #00FFBF
square
#3F00FF #FF0040 #C0FF00 #00FFBF
split-complementary
#3F00FF #FFBF00 #40FF00
monochromatic
#210085 #3000C2 #3F00FF #6D3DFF #9B7AFF

Accessibility & contrast

On white

7.91
#3F00FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F00FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F00FF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F00FF#FFFFFF#000000##FFFFFF
##3F00FF1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BFF
Deuteranopia (green-blind)
#0046FB
Tritanopia (blue-blind)
#006A96
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f00ff;
/* rgb */ color: rgb(63, 0, 255);
/* oklch */ color: oklch(47.3% 0.301 273.6);
Tailwind
colors: {
  custom: {
    50: '#9560ff',
    500: '#3f00ff',
    950: '#000000',
  },
}
SCSS
$custom: #3f00ff;
$custom-light: #9560ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3f00ff",
  "rgb": {
    "r": 63,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 254.824,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.3008,
    "h": 273.6
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#3F00FF
secondary
#CAE774
accent
#FF29CA
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #3F00FF

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

Preview Lab → · Contrast checker → · Palette generator →

#3F00FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva