#2E134E#2E134E

#2E134E is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.103 H 300.4°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#2E134E
RGBrgb(46, 19, 78)
HSLhsl(267, 61%, 19%)
HSVhsv(267, 76%, 31%)
CMYKcmyk(41%, 75.6%, 0%, 69.4%)
CIE-LABlab(13.21, 27.30, -31.15)
CIE-LCHlch(13.21, 41.42, 311.24°)
OKLaboklab(26.38% 0.052 -0.0888)
OKLCHoklch(26.38% 0.103 300.4)
XYZxyz(2.7344, 1.5966, 7.3704)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E134E #334E13
analogous
#13154E #2E134E #4C134E
triadic
#2E134E #4E2E13 #134E2E
tetradic
#2E134E #4E1315 #334E13 #134E4C
square
#2E134E #4E1315 #334E13 #134E4C
split-complementary
#2E134E #4E4C13 #154E13
monochromatic
#0F0619 #11071D #2E134E #4B1F7F #682BB0

Accessibility & contrast

On white

15.92
#2E134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2E134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E134E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E134E#FFFFFF#000000##FFFFFF
##2E134E1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#27212E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e134e;
/* rgb */ color: rgb(46, 19, 78);
/* oklch */ color: oklch(26.4% 0.103 300.4);
Tailwind
colors: {
  custom: {
    50: '#6a5380',
    500: '#2e134e',
    950: '#000000',
  },
}
SCSS
$custom: #2e134e;
$custom-light: #6a5380;
$custom-dark: #000000;
JSON
{
  "hex": "#2e134e",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 267.458,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26384,
    "c": 0.10289,
    "h": 300.4
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#2E134E
secondary
#628736
accent
#E4449B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E134E

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

Preview Lab → · Contrast checker → · Palette generator →

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