#260C3F#260C3F

#260C3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.092 H 303.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#260C3F
RGBrgb(38, 12, 63)
HSLhsl(271, 68%, 15%)
HSVhsv(271, 81%, 25%)
CMYKcmyk(39.7%, 81%, 0%, 75.3%)
CIE-LABlab(9.27, 25.03, -27.11)
CIE-LCHlch(9.27, 36.90, 312.72°)
OKLaboklab(22.9% 0.0501 -0.0772)
OKLCHoklch(22.9% 0.092 303)
XYZxyz(1.8278, 1.0339, 4.8049)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C3F #253F0C
analogous
#0C0C3F #260C3F #3F0C3F
triadic
#260C3F #3F260C #0C3F26
tetradic
#260C3F #3F0C0C #253F0C #0C3F3F
square
#260C3F #3F0C0C #253F0C #0C3F3F
split-complementary
#260C3F #3F3F0C #0C3F0C
monochromatic
#10051A #10051A #260C3F #451672 #6420A6

Accessibility & contrast

On white

17.40
#260C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#260C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C3F
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C3F#FFFFFF#000000##FFFFFF
##260C3F1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#211824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260c3f;
/* rgb */ color: rgb(38, 12, 63);
/* oklch */ color: oklch(22.9% 0.092 303.0);
Tailwind
colors: {
  custom: {
    50: '#634d74',
    500: '#260c3f',
    950: '#000000',
  },
}
SCSS
$custom: #260c3f;
$custom-light: #634d74;
$custom-dark: #000000;
JSON
{
  "hex": "#260c3f",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 270.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22898,
    "c": 0.09203,
    "h": 303
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#260C3F
secondary
#537B2C
accent
#EB3D92
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #260C3F

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

Preview Lab → · Contrast checker → · Palette generator →

#260C3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva