#2C195D#2C195D

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

Color values

HEX#2C195D
RGBrgb(44, 25, 93)
HSLhsl(257, 58%, 23%)
HSVhsv(257, 73%, 36%)
CMYKcmyk(52.7%, 73.1%, 0%, 63.5%)
CIE-LABlab(15.60, 27.93, -37.43)
CIE-LCHlch(15.60, 46.71, 306.73°)
OKLaboklab(28.46% 0.0391 -0.1073)
OKLCHoklch(28.46% 0.114 290)
XYZxyz(3.3616, 2.0209, 10.5668)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C195D #4A5D19
analogous
#19285D #2C195D #4E195D
triadic
#2C195D #5D2C19 #195D2C
tetradic
#2C195D #5D1928 #4A5D19 #195D4E
square
#2C195D #5D1928 #4A5D19 #195D4E
split-complementary
#2C195D #5D4E19 #285D19
monochromatic
#0B0618 #150C2D #2C195D #43268D #5A33BD

Accessibility & contrast

On white

14.96
#2C195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2C195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C195D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C195D#FFFFFF#000000##FFFFFF
##2C195D1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c195d;
/* rgb */ color: rgb(44, 25, 93);
/* oklch */ color: oklch(28.5% 0.114 290.0);
Tailwind
colors: {
  custom: {
    50: '#6b578c',
    500: '#2c195d',
    950: '#000000',
  },
}
SCSS
$custom: #2c195d;
$custom-light: #6b578c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c195d",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 256.765,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.11424,
    "h": 290
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#2C195D
secondary
#7C933F
accent
#E147B6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #2C195D

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

Preview Lab → · Contrast checker → · Palette generator →

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