#2E2050#2E2050

#2E2050 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.8% C 0.085 H 293.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#2E2050
RGBrgb(46, 32, 80)
HSLhsl(258, 43%, 22%)
HSVhsv(258, 60%, 31%)
CMYKcmyk(42.5%, 60%, 0%, 68.6%)
CIE-LABlab(16.47, 19.64, -27.25)
CIE-LCHlch(16.47, 33.59, 305.78°)
OKLaboklab(28.81% 0.0342 -0.0773)
OKLCHoklch(28.81% 0.085 293.9)
XYZxyz(3.0908, 2.1930, 7.8483)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2050 #425020
analogous
#202A50 #2E2050 #462050
triadic
#2E2050 #502E20 #20502E
tetradic
#2E2050 #50202A #425020 #205046
square
#2E2050 #50202A #425020 #205046
split-complementary
#2E2050 #504620 #2A5020
monochromatic
#0D0916 #150F24 #2E2050 #47317C #6043A7

Accessibility & contrast

On white

14.60
#2E2050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2050
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2050#FFFFFF#000000##FFFFFF
##2E20501.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2952
Deuteranopia (green-blind)
#0D284F
Tritanopia (blue-blind)
#252A34
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2050;
/* rgb */ color: rgb(46, 32, 80);
/* oklch */ color: oklch(28.8% 0.085 293.9);
Tailwind
colors: {
  custom: {
    50: '#695c81',
    500: '#2e2050',
    950: '#000000',
  },
}
SCSS
$custom: #2e2050;
$custom-light: #695c81;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2050",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 257.5,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28807,
    "c": 0.08458,
    "h": 293.9
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#2E2050
secondary
#738447
accent
#D355AE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2E2050

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

Preview Lab → · Contrast checker → · Palette generator →

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