#2E0F50#2E0F50

#2E0F50 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.111 H 300.4°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#2E0F50
RGBrgb(46, 15, 80)
HSLhsl(269, 68%, 19%)
HSVhsv(269, 81%, 31%)
CMYKcmyk(42.5%, 81.3%, 0%, 68.6%)
CIE-LABlab(12.62, 30.05, -33.48)
CIE-LCHlch(12.62, 44.99, 311.91°)
OKLaboklab(26.02% 0.0561 -0.0956)
OKLCHoklch(26.02% 0.111 300.4)
XYZxyz(2.7451, 1.5017, 7.7331)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F50 #31500F
analogous
#0F1150 #2E0F50 #4E0F50
triadic
#2E0F50 #502E0F #0F502E
tetradic
#2E0F50 #500F11 #31500F #0F504E
square
#2E0F50 #500F11 #31500F #0F504E
split-complementary
#2E0F50 #504E0F #11500F
monochromatic
#0F051A #10051C #2E0F50 #4C1984 #6922B7

Accessibility & contrast

On white

16.15
#2E0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2E0F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F50
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F50#FFFFFF#000000##FFFFFF
##2E0F501.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#26202E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e0f50;
/* rgb */ color: rgb(46, 15, 80);
/* oklch */ color: oklch(26.0% 0.111 300.4);
Tailwind
colors: {
  custom: {
    50: '#6b5182',
    500: '#2e0f50',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f50;
$custom-light: #6b5182;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f50",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 268.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.11087,
    "h": 300.4
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#2E0F50
secondary
#5F8A31
accent
#EB3D98
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2E0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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