#2E10B2#2E10B2

#2E10B2 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.3% C 0.223 H 275.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2E10B2
RGBrgb(46, 16, 178)
HSLhsl(251, 84%, 38%)
HSVhsv(251, 91%, 70%)
CMYKcmyk(74.2%, 91%, 0%, 30.2%)
CIE-LABlab(24.21, 57.46, -76.75)
CIE-LCHlch(24.21, 95.87, 306.82°)
OKLaboklab(37.31% 0.0197 -0.2217)
OKLCHoklch(37.31% 0.223 275.1)
XYZxyz(9.3452, 4.1648, 42.4222)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E10B2 #94B210
analogous
#1043B2 #2E10B2 #7F10B2
triadic
#2E10B2 #B22E10 #10B22E
tetradic
#2E10B2 #B21043 #94B210 #10B27F
square
#2E10B2 #B21043 #94B210 #10B27F
split-complementary
#2E10B2 #B27F10 #43B210
monochromatic
#110642 #1F0B7A #2E10B2 #3D15EA #6B4DEF

Accessibility & contrast

On white

11.46
#2E10B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E10B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E10B2
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E10B2#FFFFFF#000000##FFFFFF
##2E10B21.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040B6
Deuteranopia (green-blind)
#0032AF
Tritanopia (blue-blind)
#004A68
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e10b2;
/* rgb */ color: rgb(46, 16, 178);
/* oklch */ color: oklch(37.3% 0.223 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e59cb',
    500: '#2e10b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e10b2;
$custom-light: #7e59cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e10b2",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 178
  },
  "hsl": {
    "h": 251.111,
    "s": 83.505,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.22254,
    "h": 275.1
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#2E10B2
secondary
#B8D04D
accent
#FA2ED4
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0413
muted
#7D7982

Preview Lab

Preview with #2E10B2

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

Preview Lab → · Contrast checker → · Palette generator →

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