#2E203E#2E203E

#2E203E is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.5% C 0.057 H 304.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#2E203E
RGBrgb(46, 32, 62)
HSLhsl(268, 32%, 18%)
HSVhsv(268, 48%, 24%)
CMYKcmyk(25.8%, 48.4%, 0%, 75.7%)
CIE-LABlab(15.29, 14.10, -16.73)
CIE-LCHlch(15.29, 21.87, 310.12°)
OKLaboklab(27.54% 0.032 -0.0466)
OKLCHoklch(27.54% 0.057 304.5)
XYZxyz(2.5125, 1.9617, 4.8028)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E203E #303E20
analogous
#20213E #2E203E #3D203E
triadic
#2E203E #3E2E20 #203E2E
tetradic
#2E203E #3E2021 #303E20 #203E3D
square
#2E203E #3E2021 #303E20 #203E3D
split-complementary
#2E203E #3E3D20 #213E20
monochromatic
#0F0A14 #100B16 #2E203E #4C3566 #6A4A8F

Accessibility & contrast

On white

15.08
#2E203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E203E
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E203E#FFFFFF#000000##FFFFFF
##2E203E1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#2B252C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e203e;
/* rgb */ color: rgb(46, 32, 62);
/* oklch */ color: oklch(27.5% 0.057 304.5);
Tailwind
colors: {
  custom: {
    50: '#675b73',
    500: '#2e203e',
    950: '#000000',
  },
}
SCSS
$custom: #2e203e;
$custom-light: #675b73;
$custom-dark: #000000;
JSON
{
  "hex": "#2e203e",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 268,
    "s": 31.915,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27539,
    "c": 0.05652,
    "h": 304.5
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#2E203E
secondary
#5E7248
accent
#C86097
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E203E

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

Preview Lab → · Contrast checker → · Palette generator →

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