#2E195D#2E195D

#2E195D is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.114 H 291.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#2E195D
RGBrgb(46, 25, 93)
HSLhsl(259, 58%, 23%)
HSVhsv(259, 73%, 36%)
CMYKcmyk(50.5%, 73.1%, 0%, 63.5%)
CIE-LABlab(15.83, 28.34, -37.04)
CIE-LCHlch(15.83, 46.64, 307.42°)
OKLaboklab(28.68% 0.0423 -0.1061)
OKLCHoklch(28.68% 0.114 291.7)
XYZxyz(3.4496, 2.0663, 10.5709)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E195D #485D19
analogous
#19265D #2E195D #50195D
triadic
#2E195D #5D2E19 #195D2E
tetradic
#2E195D #5D1926 #485D19 #195D50
square
#2E195D #5D1926 #485D19 #195D50
split-complementary
#2E195D #5D5019 #265D19
monochromatic
#0C0618 #160C2D #2E195D #46268D #5E33BD

Accessibility & contrast

On white

14.86
#2E195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E195D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E195D#FFFFFF#000000##FFFFFF
##2E195D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#1F2A38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e195d;
/* rgb */ color: rgb(46, 25, 93);
/* oklch */ color: oklch(28.7% 0.114 291.7);
Tailwind
colors: {
  custom: {
    50: '#6c578c',
    500: '#2e195d',
    950: '#000000',
  },
}
SCSS
$custom: #2e195d;
$custom-light: #6c578c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e195d",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 258.529,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28679,
    "c": 0.11423,
    "h": 291.7
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#2E195D
secondary
#79933F
accent
#E147B1
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #2E195D

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

Preview Lab → · Contrast checker → · Palette generator →

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