#2C1075#2C1075

#2C1075 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.154 H 284.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#2C1075
RGBrgb(44, 16, 117)
HSLhsl(257, 76%, 26%)
HSVhsv(257, 86%, 46%)
CMYKcmyk(62.4%, 86.3%, 0%, 54.1%)
CIE-LABlab(16.45, 40.10, -51.77)
CIE-LCHlch(16.45, 65.48, 307.76°)
OKLaboklab(29.82% 0.0393 -0.1492)
OKLCHoklch(29.82% 0.154 284.7)
XYZxyz(4.4339, 2.1901, 17.0153)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1075 #597510
analogous
#102675 #2C1075 #5E1075
triadic
#2C1075 #752C10 #10752C
tetradic
#2C1075 #751026 #597510 #10755E
square
#2C1075 #751026 #597510 #10755E
split-complementary
#2C1075 #755E10 #267510
monochromatic
#0A041B #18093F #2C1075 #4017AB #551FE0

Accessibility & contrast

On white

14.60
#2C1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2C1075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1075
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1075#FFFFFF#000000##FFFFFF
##2C10751.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c1075;
/* rgb */ color: rgb(44, 16, 117);
/* oklch */ color: oklch(29.8% 0.154 284.7);
Tailwind
colors: {
  custom: {
    50: '#70549e',
    500: '#2c1075',
    950: '#000000',
  },
}
SCSS
$custom: #2c1075;
$custom-light: #70549e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1075",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 256.634,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29816,
    "c": 0.15429,
    "h": 284.7
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#2C1075
secondary
#8BAC35
accent
#F335BE
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2C1075

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

Preview Lab → · Contrast checker → · Palette generator →

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