#2C1973#2C1973

#2C1973 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.143 H 283.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2C1973
RGBrgb(44, 25, 115)
HSLhsl(253, 64%, 27%)
HSVhsv(253, 78%, 45%)
CMYKcmyk(61.7%, 78.3%, 0%, 54.9%)
CIE-LABlab(17.77, 35.03, -48.30)
CIE-LCHlch(17.77, 59.67, 305.95°)
OKLaboklab(30.67% 0.034 -0.1392)
OKLCHoklch(30.67% 0.143 283.7)
XYZxyz(4.4799, 2.4682, 16.4567)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1973 #607319
analogous
#193373 #2C1973 #591973
triadic
#2C1973 #732C19 #19732C
tetradic
#2C1973 #731933 #607319 #197359
square
#2C1973 #731933 #607319 #197359
split-complementary
#2C1973 #735919 #337319
monochromatic
#0A0519 #190E41 #2C1973 #3F24A5 #5534D3

Accessibility & contrast

On white

14.06
#2C1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2C1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1973
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1973#FFFFFF#000000##FFFFFF
##2C19731.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#013245
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2c1973;
/* rgb */ color: rgb(44, 25, 115);
/* oklch */ color: oklch(30.7% 0.143 283.7);
Tailwind
colors: {
  custom: {
    50: '#6f589c',
    500: '#2c1973',
    950: '#000000',
  },
}
SCSS
$custom: #2c1973;
$custom-light: #6f589c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1973",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 252.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30668,
    "c": 0.14329,
    "h": 283.7
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#2C1973
secondary
#92A840
accent
#E741C4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2C1973

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

Preview Lab → · Contrast checker → · Palette generator →

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