#260F68#260F68

#260F68 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.140 H 284.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#260F68
RGBrgb(38, 15, 104)
HSLhsl(256, 75%, 23%)
HSVhsv(256, 86%, 41%)
CMYKcmyk(63.5%, 85.6%, 0%, 59.2%)
CIE-LABlab(14.13, 35.95, -47.15)
CIE-LCHlch(14.13, 59.30, 307.32°)
OKLaboklab(27.61% 0.0345 -0.1359)
OKLCHoklch(27.61% 0.14 284.3)
XYZxyz(3.4681, 1.7530, 13.2496)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F68 #51680F
analogous
#0F2468 #260F68 #520F68
triadic
#260F68 #68260F #0F6826
tetradic
#260F68 #680F24 #51680F #0F6852
square
#260F68 #680F24 #51680F #0F6852
split-complementary
#260F68 #68520F #24680F
monochromatic
#0A041B #120733 #260F68 #3A179D #4D1ED3

Accessibility & contrast

On white

15.55
#260F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#260F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F68
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F68#FFFFFF#000000##FFFFFF
##260F681.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002A3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #260f68;
/* rgb */ color: rgb(38, 15, 104);
/* oklch */ color: oklch(27.6% 0.140 284.3);
Tailwind
colors: {
  custom: {
    50: '#6a5194',
    500: '#260f68',
    950: '#000000',
  },
}
SCSS
$custom: #260f68;
$custom-light: #6a5194;
$custom-dark: #000000;
JSON
{
  "hex": "#260f68",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 255.506,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27613,
    "c": 0.14025,
    "h": 284.3
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#260F68
secondary
#84A132
accent
#F136C1
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #260F68

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

Preview Lab → · Contrast checker → · Palette generator →

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