#260C47#260C47

#260C47 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.102 H 298.1°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#260C47
RGBrgb(38, 12, 71)
HSLhsl(266, 71%, 16%)
HSVhsv(266, 83%, 28%)
CMYKcmyk(46.5%, 83.1%, 0%, 72.2%)
CIE-LABlab(10.03, 27.38, -31.52)
CIE-LCHlch(10.03, 41.75, 310.98°)
OKLaboklab(23.67% 0.0482 -0.0901)
OKLCHoklch(23.67% 0.102 298.1)
XYZxyz(2.0678, 1.1299, 6.0692)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260C47 #2D470C
analogous
#0C1047 #260C47 #440C47
triadic
#260C47 #47260C #0C4726
tetradic
#260C47 #470C10 #2D470C #0C4744
square
#260C47 #470C10 #2D470C #0C4744
split-complementary
#260C47 #47440C #10470C
monochromatic
#0E041A #0E041A #260C47 #42157B #5E1EB0

Accessibility & contrast

On white

17.13
#260C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#260C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260C47
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260C47#FFFFFF#000000##FFFFFF
##260C471.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#1E1B29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #260c47;
/* rgb */ color: rgb(38, 12, 71);
/* oklch */ color: oklch(23.7% 0.102 298.1);
Tailwind
colors: {
  custom: {
    50: '#644e7b',
    500: '#260c47',
    950: '#000000',
  },
}
SCSS
$custom: #260c47;
$custom-light: #644e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#260c47",
  "rgb": {
    "r": 38,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 266.441,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23671,
    "c": 0.1022,
    "h": 298.1
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#260C47
secondary
#5D832C
accent
#EE3A9F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #260C47

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

Preview Lab → · Contrast checker → · Palette generator →

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