#2E133E#2E133E

#2E133E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.082 H 310.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#2E133E
RGBrgb(46, 19, 62)
HSLhsl(278, 53%, 16%)
HSVhsv(278, 69%, 24%)
CMYKcmyk(25.8%, 69.4%, 0%, 75.7%)
CIE-LABlab(11.92, 22.77, -22.06)
CIE-LCHlch(11.92, 31.70, 315.91°)
OKLaboklab(25.05% 0.0536 -0.0621)
OKLCHoklch(25.05% 0.082 310.8)
XYZxyz(2.2289, 1.3944, 4.7082)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E133E #233E13
analogous
#18133E #2E133E #3E1338
triadic
#2E133E #3E2E13 #133E2E
tetradic
#2E133E #3E1813 #233E13 #13383E
square
#2E133E #3E1813 #233E13 #13383E
split-complementary
#2E133E #383E13 #133E18
monochromatic
#110717 #110717 #2E133E #51216D #74309C

Accessibility & contrast

On white

16.42
#2E133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E133E
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E133E#FFFFFF#000000##FFFFFF
##2E133E1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#2C1B26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2e133e;
/* rgb */ color: rgb(46, 19, 62);
/* oklch */ color: oklch(25.0% 0.082 310.8);
Tailwind
colors: {
  custom: {
    50: '#685273',
    500: '#2e133e',
    950: '#000000',
  },
}
SCSS
$custom: #2e133e;
$custom-light: #685273;
$custom-dark: #000000;
JSON
{
  "hex": "#2e133e",
  "rgb": {
    "r": 46,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 277.674,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25046,
    "c": 0.082,
    "h": 310.8
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#2E133E
secondary
#4E7736
accent
#DC4B81
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E133E

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

Preview Lab → · Contrast checker → · Palette generator →

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