#2C103E#2C103E

#2C103E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.086 H 309.4°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2C103E
RGBrgb(44, 16, 62)
HSLhsl(277, 59%, 15%)
HSVhsv(277, 74%, 24%)
CMYKcmyk(29%, 74.2%, 0%, 75.7%)
CIE-LABlab(10.95, 23.99, -23.63)
CIE-LCHlch(10.95, 33.68, 315.43°)
OKLaboklab(24.28% 0.0548 -0.0667)
OKLCHoklch(24.28% 0.086 309.4)
XYZxyz(2.0933, 1.2539, 4.6882)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C103E #223E10
analogous
#15103E #2C103E #3E1039
triadic
#2C103E #3E2C10 #103E2C
tetradic
#2C103E #3E1510 #223E10 #10393E
square
#2C103E #3E1510 #223E10 #10393E
split-complementary
#2C103E #393E10 #103E15
monochromatic
#110618 #110618 #2C103E #4F1D6F #71299F

Accessibility & contrast

On white

16.79
#2C103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2C103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C103E
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C103E#FFFFFF#000000##FFFFFF
##2C103E1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#291925
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2c103e;
/* rgb */ color: rgb(44, 16, 62);
/* oklch */ color: oklch(24.3% 0.086 309.4);
Tailwind
colors: {
  custom: {
    50: '#675073',
    500: '#2c103e',
    950: '#000000',
  },
}
SCSS
$custom: #2c103e;
$custom-light: #675073;
$custom-dark: #000000;
JSON
{
  "hex": "#2c103e",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 276.522,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24276,
    "c": 0.08638,
    "h": 309.4
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#2C103E
secondary
#4D7832
accent
#E24683
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C103E

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

Preview Lab → · Contrast checker → · Palette generator →

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