#2E2073#2E2073

#2E2073 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 31.9% C 0.135 H 283.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2E2073
RGBrgb(46, 32, 115)
HSLhsl(250, 56%, 29%)
HSVhsv(250, 72%, 45%)
CMYKcmyk(60%, 72.2%, 0%, 54.9%)
CIE-LABlab(19.44, 31.25, -45.56)
CIE-LCHlch(19.44, 55.25, 304.44°)
OKLaboklab(31.9% 0.0312 -0.1311)
OKLCHoklch(31.9% 0.135 283.4)
XYZxyz(4.7368, 2.8514, 16.5171)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2073 #657320
analogous
#203C73 #2E2073 #582073
triadic
#2E2073 #732E20 #20732E
tetradic
#2E2073 #73203C #657320 #207358
square
#2E2073 #73203C #657320 #207358
split-complementary
#2E2073 #735820 #3C7320
monochromatic
#0A0718 #1B1343 #2E2073 #412DA3 #5A43CB

Accessibility & contrast

On white

13.37
#2E2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2E2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2073
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2073#FFFFFF#000000##FFFFFF
##2E20731.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#083647
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2073;
/* rgb */ color: rgb(46, 32, 115);
/* oklch */ color: oklch(31.9% 0.135 283.4);
Tailwind
colors: {
  custom: {
    50: '#6f5d9c',
    500: '#2e2073',
    950: '#000000',
  },
}
SCSS
$custom: #2e2073;
$custom-light: #6f5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2073",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 250.12,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.13481,
    "h": 283.4
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#2E2073
secondary
#97A748
accent
#E048C6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2073

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

Preview Lab → · Contrast checker → · Palette generator →

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