#2C0F60#2C0F60

#2C0F60 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.130 H 291.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#2C0F60
RGBrgb(44, 15, 96)
HSLhsl(261, 73%, 22%)
HSVhsv(261, 84%, 38%)
CMYKcmyk(54.2%, 84.4%, 0%, 62.4%)
CIE-LABlab(13.95, 34.35, -42.13)
CIE-LCHlch(13.95, 54.35, 309.19°)
OKLaboklab(27.39% 0.0477 -0.121)
OKLCHoklch(27.39% 0.13 291.5)
XYZxyz(3.3203, 1.7215, 11.2214)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F60 #43600F
analogous
#0F1B60 #2C0F60 #550F60
triadic
#2C0F60 #602C0F #0F602C
tetradic
#2C0F60 #600F1B #43600F #0F6055
square
#2C0F60 #600F1B #43600F #0F6055
split-complementary
#2C0F60 #60550F #1B600F
monochromatic
#0C041A #14072B #2C0F60 #441795 #5D20CA

Accessibility & contrast

On white

15.62
#2C0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2C0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F60
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F60#FFFFFF#000000##FFFFFF
##2C0F601.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#1A2638
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2c0f60;
/* rgb */ color: rgb(44, 15, 96);
/* oklch */ color: oklch(27.4% 0.130 291.5);
Tailwind
colors: {
  custom: {
    50: '#6c528e',
    500: '#2c0f60',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f60;
$custom-light: #6c528e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f60",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 261.481,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27386,
    "c": 0.13011,
    "h": 291.5
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#2C0F60
secondary
#749932
accent
#F038AE
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2C0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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