#260F4C#260F4C

#260F4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.105 H 294.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#260F4C
RGBrgb(38, 15, 76)
HSLhsl(263, 67%, 18%)
HSVhsv(263, 80%, 30%)
CMYKcmyk(50%, 80.3%, 0%, 70.2%)
CIE-LABlab(11.10, 27.26, -33.25)
CIE-LCHlch(11.10, 42.99, 309.35°)
OKLaboklab(24.58% 0.0437 -0.0952)
OKLCHoklch(24.58% 0.105 294.6)
XYZxyz(2.2743, 1.2755, 6.9624)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F4C #354C0F
analogous
#0F164C #260F4C #440F4C
triadic
#260F4C #4C260F #0F4C26
tetradic
#260F4C #4C0F16 #354C0F #0F4C44
square
#260F4C #4C0F16 #354C0F #0F4C44
split-complementary
#260F4C #4C440F #164C0F
monochromatic
#0D051A #0D051A #260F4C #40197F #5923B2

Accessibility & contrast

On white

16.73
#260F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#260F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F4C
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F4C#FFFFFF#000000##FFFFFF
##260F4C1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#1B1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #260f4c;
/* rgb */ color: rgb(38, 15, 76);
/* oklch */ color: oklch(24.6% 0.105 294.6);
Tailwind
colors: {
  custom: {
    50: '#65507f',
    500: '#260f4c',
    950: '#000000',
  },
}
SCSS
$custom: #260f4c;
$custom-light: #65507f;
$custom-dark: #000000;
JSON
{
  "hex": "#260f4c",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 262.623,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24581,
    "c": 0.10477,
    "h": 294.6
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#260F4C
secondary
#668631
accent
#EA3EA9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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