#2E195B#2E195B

#2E195B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.112 H 292.5°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2E195B
RGBrgb(46, 25, 91)
HSLhsl(259, 57%, 23%)
HSVhsv(259, 73%, 36%)
CMYKcmyk(49.5%, 72.5%, 0%, 64.3%)
CIE-LABlab(15.65, 27.71, -36.00)
CIE-LCHlch(15.65, 45.42, 307.59°)
OKLaboklab(28.49% 0.0427 -0.103)
OKLCHoklch(28.49% 0.112 292.5)
XYZxyz(3.3621, 2.0313, 10.1104)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E195B #465B19
analogous
#19255B #2E195B #4F195B
triadic
#2E195B #5B2E19 #195B2E
tetradic
#2E195B #5B1925 #465B19 #195B4F
square
#2E195B #5B1925 #465B19 #195B4F
split-complementary
#2E195B #5B4F19 #255B19
monochromatic
#0C0718 #160C2B #2E195B #46268B #5F33BB

Accessibility & contrast

On white

14.93
#2E195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E195B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E195B#FFFFFF#000000##FFFFFF
##2E195B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#212937
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e195b;
/* rgb */ color: rgb(46, 25, 91);
/* oklch */ color: oklch(28.5% 0.112 292.5);
Tailwind
colors: {
  custom: {
    50: '#6c578a',
    500: '#2e195b',
    950: '#000000',
  },
}
SCSS
$custom: #2e195b;
$custom-light: #6c578a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e195b",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 259.091,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.11152,
    "h": 292.5
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#2E195B
secondary
#77913F
accent
#E048B0
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #2E195B

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

Preview Lab → · Contrast checker → · Palette generator →

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