#2E233E#2E233E

#2E233E is a dark, muted violet. Relative luminance 0.021; OKLCH L 28.2% C 0.050 H 302.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2E233E
RGBrgb(46, 35, 62)
HSLhsl(264, 28%, 19%)
HSVhsv(264, 44%, 24%)
CMYKcmyk(25.8%, 43.5%, 0%, 75.7%)
CIE-LABlab(16.16, 11.98, -15.36)
CIE-LCHlch(16.16, 19.48, 307.96°)
OKLaboklab(28.2% 0.0267 -0.0426)
OKLCHoklch(28.2% 0.05 302)
XYZxyz(2.5971, 2.1307, 4.8309)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E233E #333E23
analogous
#23263E #2E233E #3C233E
triadic
#2E233E #3E2E23 #233E2E
tetradic
#2E233E #3E2326 #333E23 #233E3C
square
#2E233E #3E2326 #333E23 #233E3C
split-complementary
#2E233E #3E3C23 #263E23
monochromatic
#0F0B14 #110D17 #2E233E #4B3965 #684F8C

Accessibility & contrast

On white

14.72
#2E233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2E233E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E233E
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E233E#FFFFFF#000000##FFFFFF
##2E233E1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#2B272D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e233e;
/* rgb */ color: rgb(46, 35, 62);
/* oklch */ color: oklch(28.2% 0.050 302.0);
Tailwind
colors: {
  custom: {
    50: '#675e73',
    500: '#2e233e',
    950: '#000000',
  },
}
SCSS
$custom: #2e233e;
$custom-light: #675e73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e233e",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 264.444,
    "s": 27.835,
    "l": 19.02
  },
  "oklch": {
    "l": 0.282,
    "c": 0.05031,
    "h": 302
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#2E233E
secondary
#62714C
accent
#C4649D
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E233E

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

Preview Lab → · Contrast checker → · Palette generator →

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