#2E2364#2E2364

#2E2364 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.110 H 285.8°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2E2364
RGBrgb(46, 35, 100)
HSLhsl(250, 48%, 26%)
HSVhsv(250, 65%, 39%)
CMYKcmyk(54%, 65%, 0%, 60.8%)
CIE-LABlab(18.81, 24.26, -36.83)
CIE-LCHlch(18.81, 44.10, 303.38°)
OKLaboklab(31.03% 0.0299 -0.1055)
OKLCHoklch(31.03% 0.11 285.8)
XYZxyz(4.0273, 2.7028, 12.3636)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2364 #596423
analogous
#233964 #2E2364 #4F2364
triadic
#2E2364 #642E23 #23642E
tetradic
#2E2364 #642339 #596423 #23644F
square
#2E2364 #642339 #596423 #23644F
split-complementary
#2E2364 #644F23 #396423
monochromatic
#0A0817 #191337 #2E2364 #433391 #5844BE

Accessibility & contrast

On white

13.63
#2E2364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E2364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2364
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2364#FFFFFF#000000##FFFFFF
##2E23641.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#1A323F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e2364;
/* rgb */ color: rgb(46, 35, 100);
/* oklch */ color: oklch(31.0% 0.110 285.8);
Tailwind
colors: {
  custom: {
    50: '#6c5e91',
    500: '#2e2364',
    950: '#000000',
  },
}
SCSS
$custom: #2e2364;
$custom-light: #6c5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2364",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 250.154,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31028,
    "c": 0.10965,
    "h": 285.8
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#2E2364
secondary
#8B984B
accent
#D850C1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #2E2364

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

Preview Lab → · Contrast checker → · Palette generator →

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