#2E133F#2E133F

#2E133F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.083 H 310.0°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#2E133F
RGBrgb(46, 19, 63)
HSLhsl(277, 54%, 16%)
HSVhsv(277, 70%, 25%)
CMYKcmyk(27%, 69.8%, 0%, 75.3%)
CIE-LABlab(11.99, 23.04, -22.65)
CIE-LCHlch(11.99, 32.31, 315.49°)
OKLaboklab(25.12% 0.0536 -0.0638)
OKLCHoklch(25.12% 0.083 310)
XYZxyz(2.2566, 1.4055, 4.8541)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E133F #243F13
analogous
#18133F #2E133F #3F133A
triadic
#2E133F #3F2E13 #133F2E
tetradic
#2E133F #3F1813 #243F13 #133A3F
square
#2E133F #3F1813 #243F13 #133A3F
split-complementary
#2E133F #3A3F13 #133F18
monochromatic
#110718 #110718 #2E133F #50216E #732F9D

Accessibility & contrast

On white

16.39
#2E133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2E133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E133F
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E133F#FFFFFF#000000##FFFFFF
##2E133F1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#2C1B26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e133f;
/* rgb */ color: rgb(46, 19, 63);
/* oklch */ color: oklch(25.1% 0.083 310.0);
Tailwind
colors: {
  custom: {
    50: '#685274',
    500: '#2e133f',
    950: '#000000',
  },
}
SCSS
$custom: #2e133f;
$custom-light: #685274;
$custom-dark: #000000;
JSON
{
  "hex": "#2e133f",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 276.818,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25123,
    "c": 0.0833,
    "h": 310
  },
  "luminance": 0.01405
}

Semantic roles & 50–950 ramp

primary
#2E133F
secondary
#4F7836
accent
#DD4B83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E133F

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

Preview Lab → · Contrast checker → · Palette generator →

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