#2E1050#2E1050

#2E1050 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.110 H 300.2°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2E1050
RGBrgb(46, 16, 80)
HSLhsl(268, 67%, 19%)
HSVhsv(268, 80%, 31%)
CMYKcmyk(42.5%, 80%, 0%, 68.6%)
CIE-LABlab(12.80, 29.53, -33.18)
CIE-LCHlch(12.80, 44.42, 311.67°)
OKLaboklab(26.15% 0.0551 -0.0947)
OKLCHoklch(26.15% 0.11 300.2)
XYZxyz(2.7596, 1.5306, 7.7379)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1050 #325010
analogous
#101250 #2E1050 #4E1050
triadic
#2E1050 #502E10 #10502E
tetradic
#2E1050 #501012 #325010 #10504E
square
#2E1050 #501012 #325010 #10504E
split-complementary
#2E1050 #504E10 #125010
monochromatic
#0F051A #11061D #2E1050 #4B1A83 #6924B6

Accessibility & contrast

On white

16.08
#2E1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1050
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1050#FFFFFF#000000##FFFFFF
##2E10501.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#26202F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e1050;
/* rgb */ color: rgb(46, 16, 80);
/* oklch */ color: oklch(26.2% 0.110 300.2);
Tailwind
colors: {
  custom: {
    50: '#6b5182',
    500: '#2e1050',
    950: '#000000',
  },
}
SCSS
$custom: #2e1050;
$custom-light: #6b5182;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1050",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 268.125,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26151,
    "c": 0.10958,
    "h": 300.2
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#2E1050
secondary
#618A32
accent
#EA3E99
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E1050

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

Preview Lab → · Contrast checker → · Palette generator →

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