#2E2345#2E2345

#2E2345 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.6% C 0.062 H 297.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#2E2345
RGBrgb(46, 35, 69)
HSLhsl(259, 33%, 20%)
HSVhsv(259, 49%, 27%)
CMYKcmyk(33.3%, 49.3%, 0%, 72.9%)
CIE-LABlab(16.57, 14.09, -19.57)
CIE-LCHlch(16.57, 24.11, 305.74°)
OKLaboklab(28.64% 0.0283 -0.0549)
OKLCHoklch(28.64% 0.062 297.3)
XYZxyz(2.8017, 2.2125, 5.9085)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2345 #3A4523
analogous
#232945 #2E2345 #3F2345
triadic
#2E2345 #452E23 #23452E
tetradic
#2E2345 #452329 #3A4523 #23453F
square
#2E2345 #452329 #3A4523 #23453F
split-complementary
#2E2345 #453F23 #294523
monochromatic
#0E0A14 #130E1C #2E2345 #49386E #644C96

Accessibility & contrast

On white

14.56
#2E2345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2345
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2345#FFFFFF#000000##FFFFFF
##2E23451.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#1B2944
Tritanopia (blue-blind)
#292930
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2345;
/* rgb */ color: rgb(46, 35, 69);
/* oklch */ color: oklch(28.6% 0.062 297.3);
Tailwind
colors: {
  custom: {
    50: '#685e79',
    500: '#2e2345',
    950: '#000000',
  },
}
SCSS
$custom: #2e2345;
$custom-light: #685e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2345",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 69
  },
  "hsl": {
    "h": 259.412,
    "s": 32.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.06172,
    "h": 297.3
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#2E2345
secondary
#6A784B
accent
#C95FA7
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E2345

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

Preview Lab → · Contrast checker → · Palette generator →

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