#2E0D56#2E0D56

#2E0D56 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.120 H 297.9°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#2E0D56
RGBrgb(46, 13, 86)
HSLhsl(267, 74%, 19%)
HSVhsv(267, 85%, 34%)
CMYKcmyk(46.5%, 84.9%, 0%, 66.3%)
CIE-LABlab(12.86, 32.72, -37.18)
CIE-LCHlch(12.86, 49.52, 311.35°)
OKLaboklab(26.37% 0.0563 -0.1064)
OKLCHoklch(26.37% 0.12 297.9)
XYZxyz(2.9499, 1.5405, 8.9442)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0D56 #35560D
analogous
#0D1156 #2E0D56 #530D56
triadic
#2E0D56 #562E0D #0D562E
tetradic
#2E0D56 #560D11 #35560D #0D5653
square
#2E0D56 #560D11 #35560D #0D5653
split-complementary
#2E0D56 #56530D #11560D
monochromatic
#0E041B #120521 #2E0D56 #4A158B #671DC0

Accessibility & contrast

On white

16.05
#2E0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0D56
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0D56#FFFFFF#000000##FFFFFF
##2E0D561.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#242131
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e0d56;
/* rgb */ color: rgb(46, 13, 86);
/* oklch */ color: oklch(26.4% 0.120 297.9);
Tailwind
colors: {
  custom: {
    50: '#6c5086',
    500: '#2e0d56',
    950: '#000000',
  },
}
SCSS
$custom: #2e0d56;
$custom-light: #6c5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0d56",
  "rgb": {
    "r": 46,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 267.123,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26374,
    "c": 0.1204,
    "h": 297.9
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#2E0D56
secondary
#64912E
accent
#F0379D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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