#2E1069#2E1069

#2E1069 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.140 H 289.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#2E1069
RGBrgb(46, 16, 105)
HSLhsl(260, 74%, 24%)
HSVhsv(260, 85%, 41%)
CMYKcmyk(56.2%, 84.8%, 0%, 58.8%)
CIE-LABlab(15.34, 36.81, -45.80)
CIE-LCHlch(15.34, 58.76, 308.79°)
OKLaboklab(28.7% 0.0472 -0.1317)
OKLCHoklch(28.7% 0.14 289.7)
XYZxyz(3.8611, 1.9712, 13.5389)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1069 #4B6910
analogous
#101E69 #2E1069 #5A1069
triadic
#2E1069 #692E10 #10692E
tetradic
#2E1069 #69101E #4B6910 #10695A
square
#2E1069 #69101E #4B6910 #10695A
split-complementary
#2E1069 #695A10 #1E6910
monochromatic
#0C041B #170834 #2E1069 #45189E #5D20D3

Accessibility & contrast

On white

15.06
#2E1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1069
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1069#FFFFFF#000000##FFFFFF
##2E10691.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#172A3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e1069;
/* rgb */ color: rgb(46, 16, 105);
/* oklch */ color: oklch(28.7% 0.140 289.7);
Tailwind
colors: {
  custom: {
    50: '#6f5395',
    500: '#2e1069',
    950: '#000000',
  },
}
SCSS
$custom: #2e1069;
$custom-light: #6f5395;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1069",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 260.225,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28696,
    "c": 0.13991,
    "h": 289.7
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#2E1069
secondary
#7CA134
accent
#F038B2
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2E1069

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

Preview Lab → · Contrast checker → · Palette generator →

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