#2E264A#2E264A

#2E264A is a dark, moderate violet. Relative luminance 0.025; OKLCH L 29.6% C 0.064 H 292.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#2E264A
RGBrgb(46, 38, 74)
HSLhsl(253, 32%, 22%)
HSVhsv(253, 49%, 29%)
CMYKcmyk(37.8%, 48.6%, 0%, 71%)
CIE-LABlab(17.74, 13.54, -21.14)
CIE-LCHlch(17.74, 25.10, 302.64°)
OKLaboklab(29.63% 0.0243 -0.0594)
OKLCHoklch(29.63% 0.064 292.2)
XYZxyz(3.0555, 2.4614, 6.7914)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E264A #424A26
analogous
#26304A #2E264A #40264A
triadic
#2E264A #4A2E26 #264A2E
tetradic
#2E264A #4A2630 #424A26 #264A40
square
#2E264A #4A2630 #424A26 #264A40
split-complementary
#2E264A #4A4026 #304A26
monochromatic
#0D0A14 #151122 #2E264A #473B72 #60509B

Accessibility & contrast

On white

14.07
#2E264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E264A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E264A#FFFFFF#000000##FFFFFF
##2E264A1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#1B2B49
Tritanopia (blue-blind)
#272D34
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e264a;
/* rgb */ color: rgb(46, 38, 74);
/* oklch */ color: oklch(29.6% 0.064 292.2);
Tailwind
colors: {
  custom: {
    50: '#68607d',
    500: '#2e264a',
    950: '#000000',
  },
}
SCSS
$custom: #2e264a;
$custom-light: #68607d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e264a",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 253.333,
    "s": 32.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.06421,
    "h": 292.2
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#2E264A
secondary
#737D4F
accent
#C85FB1
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E264A

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

Preview Lab → · Contrast checker → · Palette generator →

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