#2C0F68#2C0F68

#2C0F68 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.140 H 288.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#2C0F68
RGBrgb(44, 15, 104)
HSLhsl(260, 75%, 23%)
HSVhsv(260, 86%, 41%)
CMYKcmyk(57.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(14.82, 36.71, -45.99)
CIE-LCHlch(14.82, 58.84, 308.59°)
OKLaboklab(28.25% 0.0448 -0.1323)
OKLCHoklch(28.25% 0.14 288.7)
XYZxyz(3.7075, 1.8764, 13.2608)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F68 #4B680F
analogous
#0F1E68 #2C0F68 #580F68
triadic
#2C0F68 #682C0F #0F682C
tetradic
#2C0F68 #680F1E #4B680F #0F6858
square
#2C0F68 #680F1E #4B680F #0F6858
split-complementary
#2C0F68 #68580F #1E680F
monochromatic
#0B041B #150733 #2C0F68 #43179D #591ED3

Accessibility & contrast

On white

15.27
#2C0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2C0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F68
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F68#FFFFFF#000000##FFFFFF
##2C0F681.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#132A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c0f68;
/* rgb */ color: rgb(44, 15, 104);
/* oklch */ color: oklch(28.3% 0.140 288.7);
Tailwind
colors: {
  custom: {
    50: '#6e5294',
    500: '#2c0f68',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f68;
$custom-light: #6e5294;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f68",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 259.551,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28254,
    "c": 0.13971,
    "h": 288.7
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#2C0F68
secondary
#7DA132
accent
#F136B4
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020D
muted
#7B787E

Preview Lab

Preview with #2C0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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