#2E103E#2E103E

#2E103E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.087 H 311.7°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2E103E
RGBrgb(46, 16, 62)
HSLhsl(279, 59%, 15%)
HSVhsv(279, 74%, 24%)
CMYKcmyk(25.8%, 74.2%, 0%, 75.7%)
CIE-LABlab(11.27, 24.54, -23.10)
CIE-LCHlch(11.27, 33.71, 316.73°)
OKLaboklab(24.58% 0.058 -0.0651)
OKLCHoklch(24.58% 0.087 311.7)
XYZxyz(2.1813, 1.2993, 4.6924)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E103E #203E10
analogous
#17103E #2E103E #3E1037
triadic
#2E103E #3E2E10 #103E2E
tetradic
#2E103E #3E1710 #203E10 #10373E
square
#2E103E #3E1710 #203E10 #10373E
split-complementary
#2E103E #373E10 #103E17
monochromatic
#120618 #120618 #2E103E #521D6F #76299F

Accessibility & contrast

On white

16.67
#2E103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E103E
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E103E#FFFFFF#000000##FFFFFF
##2E103E1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#2C1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e103e;
/* rgb */ color: rgb(46, 16, 62);
/* oklch */ color: oklch(24.6% 0.087 311.7);
Tailwind
colors: {
  custom: {
    50: '#695073',
    500: '#2e103e',
    950: '#000000',
  },
}
SCSS
$custom: #2e103e;
$custom-light: #695073;
$custom-dark: #000000;
JSON
{
  "hex": "#2e103e",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 279.13,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24576,
    "c": 0.08718,
    "h": 311.7
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#2E103E
secondary
#4A7832
accent
#E2467C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E103E

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

Preview Lab → · Contrast checker → · Palette generator →

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