#2E034E#2E034E

#2E034E is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.5% C 0.122 H 303.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2E034E
RGBrgb(46, 3, 78)
HSLhsl(274, 93%, 16%)
HSVhsv(274, 96%, 31%)
CMYKcmyk(41%, 96.2%, 0%, 69.4%)
CIE-LABlab(10.53, 35.03, -35.52)
CIE-LCHlch(10.53, 49.89, 314.60°)
OKLaboklab(24.51% 0.0683 -0.1015)
OKLCHoklch(24.51% 0.122 303.9)
XYZxyz(2.5341, 1.1960, 7.3036)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E034E #234E03
analogous
#08034E #2E034E #4E0348
triadic
#2E034E #4E2E03 #034E2E
tetradic
#2E034E #4E0803 #234E03 #03484E
square
#2E034E #4E0803 #234E03 #03484E
split-complementary
#2E034E #484E03 #034E08
monochromatic
#11011D #11011D #2E034E #510589 #7408C4

Accessibility & contrast

On white

16.95
#2E034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2E034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E034E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E034E#FFFFFF#000000##FFFFFF
##2E034E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#27192B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2e034e;
/* rgb */ color: rgb(46, 3, 78);
/* oklch */ color: oklch(24.5% 0.122 303.9);
Tailwind
colors: {
  custom: {
    50: '#6b4b80',
    500: '#2e034e',
    950: '#000000',
  },
}
SCSS
$custom: #2e034e;
$custom-light: #6b4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#2e034e",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 274.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24509,
    "c": 0.12229,
    "h": 303.9
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#2E034E
secondary
#4E8E1E
accent
#FF2984
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07010A
muted
#7A777C

Preview Lab

Preview with #2E034E

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

Preview Lab → · Contrast checker → · Palette generator →

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