#2E153D#2E153D

#2E153D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.3% C 0.077 H 310.9°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#2E153D
RGBrgb(46, 21, 61)
HSLhsl(278, 49%, 16%)
HSVhsv(278, 66%, 24%)
CMYKcmyk(24.6%, 65.6%, 0%, 76.1%)
CIE-LABlab(12.31, 21.25, -20.72)
CIE-LCHlch(12.31, 29.68, 315.72°)
OKLaboklab(25.31% 0.0504 -0.0582)
OKLCHoklch(25.31% 0.077 310.9)
XYZxyz(2.2370, 1.4541, 4.5768)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E153D #243D15
analogous
#1A153D #2E153D #3D1538
triadic
#2E153D #3D2E15 #153D2E
tetradic
#2E153D #3D1A15 #243D15 #15383D
square
#2E153D #3D1A15 #243D15 #15383D
split-complementary
#2E153D #383D15 #153D1A
monochromatic
#110817 #110817 #2E153D #50256B #733498

Accessibility & contrast

On white

16.27
#2E153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E153D
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E153D#FFFFFF#000000##FFFFFF
##2E153D1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#12213C
Tritanopia (blue-blind)
#2C1C26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e153d;
/* rgb */ color: rgb(46, 21, 61);
/* oklch */ color: oklch(25.3% 0.077 310.9);
Tailwind
colors: {
  custom: {
    50: '#685373',
    500: '#2e153d',
    950: '#000000',
  },
}
SCSS
$custom: #2e153d;
$custom-light: #685373;
$custom-dark: #000000;
JSON
{
  "hex": "#2e153d",
  "rgb": {
    "r": 46,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 277.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.077,
    "h": 310.9
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#2E153D
secondary
#4F7539
accent
#D84F83
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2E153D

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

Preview Lab → · Contrast checker → · Palette generator →

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