#2E203D#2E203D

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

Color values

HEX#2E203D
RGBrgb(46, 32, 61)
HSLhsl(269, 31%, 18%)
HSVhsv(269, 48%, 24%)
CMYKcmyk(24.6%, 47.5%, 0%, 76.1%)
CIE-LABlab(15.23, 13.81, -16.12)
CIE-LCHlch(15.23, 21.22, 310.59°)
OKLaboklab(27.48% 0.0318 -0.0448)
OKLCHoklch(27.48% 0.055 305.3)
XYZxyz(2.4854, 1.9508, 4.6596)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E203D #2F3D20
analogous
#20203D #2E203D #3C203D
triadic
#2E203D #3D2E20 #203D2E
tetradic
#2E203D #3D2020 #2F3D20 #203D3C
square
#2E203D #3D2020 #2F3D20 #203D3C
split-complementary
#2E203D #3D3C20 #203D20
monochromatic
#0F0B14 #100B15 #2E203D #4C3565 #6B4A8D

Accessibility & contrast

On white

15.11
#2E203D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E203D
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E203D#FFFFFF#000000##FFFFFF
##2E203D1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#2C252B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e203d;
/* rgb */ color: rgb(46, 32, 61);
/* oklch */ color: oklch(27.5% 0.055 305.3);
Tailwind
colors: {
  custom: {
    50: '#675b72',
    500: '#2e203d',
    950: '#000000',
  },
}
SCSS
$custom: #2e203d;
$custom-light: #675b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2e203d",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 61
  },
  "hsl": {
    "h": 268.966,
    "s": 31.183,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27476,
    "c": 0.05493,
    "h": 305.3
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#2E203D
secondary
#5D7148
accent
#C76096
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #2E203D

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

Preview Lab → · Contrast checker → · Palette generator →

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