#2E134D#2E134D

#2E134D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.102 H 300.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#2E134D
RGBrgb(46, 19, 77)
HSLhsl(268, 60%, 19%)
HSVhsv(268, 75%, 30%)
CMYKcmyk(40.3%, 75.3%, 0%, 69.8%)
CIE-LABlab(13.12, 27.01, -30.60)
CIE-LCHlch(13.12, 40.82, 311.43°)
OKLaboklab(26.3% 0.0522 -0.0872)
OKLCHoklch(26.3% 0.102 300.9)
XYZxyz(2.6988, 1.5824, 7.1830)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E134D #324D13
analogous
#13154D #2E134D #4B134D
triadic
#2E134D #4D2E13 #134D2E
tetradic
#2E134D #4D1315 #324D13 #134D4B
square
#2E134D #4D1315 #324D13 #134D4B
split-complementary
#2E134D #4D4B13 #154D13
monochromatic
#0F0619 #11071C #2E134D #4B1F7E #692BAF

Accessibility & contrast

On white

15.95
#2E134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E134D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E134D#FFFFFF#000000##FFFFFF
##2E134D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#27212E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2e134d;
/* rgb */ color: rgb(46, 19, 77);
/* oklch */ color: oklch(26.3% 0.102 300.9);
Tailwind
colors: {
  custom: {
    50: '#6a537f',
    500: '#2e134d',
    950: '#000000',
  },
}
SCSS
$custom: #2e134d;
$custom-light: #6a537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e134d",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 267.931,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26295,
    "c": 0.10159,
    "h": 300.9
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#2E134D
secondary
#618636
accent
#E44499
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E134D

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

Preview Lab → · Contrast checker → · Palette generator →

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