#2E203C#2E203C

#2E203C is a dark, muted violet. Relative luminance 0.019; OKLCH L 27.4% C 0.053 H 306.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#2E203C
RGBrgb(46, 32, 60)
HSLhsl(270, 30%, 18%)
HSVhsv(270, 47%, 24%)
CMYKcmyk(23.3%, 46.7%, 0%, 76.5%)
CIE-LABlab(15.17, 13.52, -15.50)
CIE-LCHlch(15.17, 20.57, 311.09°)
OKLaboklab(27.42% 0.0315 -0.0431)
OKLCHoklch(27.42% 0.053 306.2)
XYZxyz(2.4587, 1.9401, 4.5190)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E203C #2E3C20
analogous
#20203C #2E203C #3C203C
triadic
#2E203C #3C2E20 #203C2E
tetradic
#2E203C #3C2020 #2E3C20 #203C3C
square
#2E203C #3C2020 #2E3C20 #203C3C
split-complementary
#2E203C #3C3C20 #203C20
monochromatic
#0F0B14 #0F0B14 #2E203C #4D3564 #6B4B8C

Accessibility & contrast

On white

15.13
#2E203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E203C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E203C#FFFFFF#000000##FFFFFF
##2E203C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263D
Deuteranopia (green-blind)
#1D263B
Tritanopia (blue-blind)
#2C242B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e203c;
/* rgb */ color: rgb(46, 32, 60);
/* oklch */ color: oklch(27.4% 0.053 306.2);
Tailwind
colors: {
  custom: {
    50: '#675b72',
    500: '#2e203c',
    950: '#000000',
  },
}
SCSS
$custom: #2e203c;
$custom-light: #675b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2e203c",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 270,
    "s": 30.435,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27415,
    "c": 0.05336,
    "h": 306.2
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#2E203C
secondary
#5C6F48
accent
#C76194
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #2E203C

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

Preview Lab → · Contrast checker → · Palette generator →

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