#2E01FF#2E01FF

#2E01FF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 46.4% C 0.305 H 269.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2E01FF
RGBrgb(46, 1, 255)
HSLhsl(251, 100%, 50%)
HSVhsv(251, 100%, 100%)
CMYKcmyk(82%, 99.6%, 0%, 0%)
CIE-LABlab(33.61, 79.46, -105.64)
CIE-LCHlch(33.61, 132.19, 306.95°)
OKLaboklab(46.43% -0.0022 -0.305)
OKLCHoklch(46.43% 0.305 269.6)
XYZxyz(19.1815, 7.8202, 95.0868)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E01FF #D2FF01
analogous
#0153FF #2E01FF #AD01FF
triadic
#2E01FF #FF2E01 #01FF2E
tetradic
#2E01FF #FF0153 #D2FF01 #01FFAD
square
#2E01FF #FF0153 #D2FF01 #01FFAD
split-complementary
#2E01FF #FFAD01 #53FF01
monochromatic
#180086 #2300C3 #2E01FF #603EFF #937BFF

Accessibility & contrast

On white

8.19
#2E01FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E01FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E01FF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E01FF#FFFFFF#000000##FFFFFF
##2E01FF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AFF
Deuteranopia (green-blind)
#0042FB
Tritanopia (blue-blind)
#006B96
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e01ff;
/* rgb */ color: rgb(46, 1, 255);
/* oklch */ color: oklch(46.4% 0.305 269.6);
Tailwind
colors: {
  custom: {
    50: '#905fff',
    500: '#2e01ff',
    950: '#000000',
  },
}
SCSS
$custom: #2e01ff;
$custom-light: #905fff;
$custom-dark: #000000;
JSON
{
  "hex": "#2e01ff",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 255
  },
  "hsl": {
    "h": 250.63,
    "s": 100,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.30499,
    "h": 269.6
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#2E01FF
secondary
#D3E775
accent
#FF29D9
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #2E01FF

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

Preview Lab → · Contrast checker → · Palette generator →

#2E01FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva