#2E103F#2E103F

#2E103F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.088 H 310.9°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2E103F
RGBrgb(46, 16, 63)
HSLhsl(278, 59%, 15%)
HSVhsv(278, 75%, 25%)
CMYKcmyk(27%, 74.6%, 0%, 75.3%)
CIE-LABlab(11.35, 24.81, -23.69)
CIE-LCHlch(11.35, 34.30, 316.33°)
OKLaboklab(24.66% 0.0579 -0.0668)
OKLCHoklch(24.66% 0.088 310.9)
XYZxyz(2.2090, 1.3104, 4.8382)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E103F #213F10
analogous
#16103F #2E103F #3F1038
triadic
#2E103F #3F2E10 #103F2E
tetradic
#2E103F #3F1610 #213F10 #10383F
square
#2E103F #3F1610 #213F10 #10383F
split-complementary
#2E103F #383F10 #103F16
monochromatic
#120618 #120618 #2E103F #521C70 #7529A1

Accessibility & contrast

On white

16.64
#2E103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E103F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E103F#FFFFFF#000000##FFFFFF
##2E103F1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e103f;
/* rgb */ color: rgb(46, 16, 63);
/* oklch */ color: oklch(24.7% 0.088 310.9);
Tailwind
colors: {
  custom: {
    50: '#695074',
    500: '#2e103f',
    950: '#000000',
  },
}
SCSS
$custom: #2e103f;
$custom-light: #695074;
$custom-dark: #000000;
JSON
{
  "hex": "#2e103f",
  "rgb": {
    "r": 46,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 278.298,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24656,
    "c": 0.08842,
    "h": 310.9
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2E103F
secondary
#4C7932
accent
#E3457E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E103F

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

Preview Lab → · Contrast checker → · Palette generator →

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