#260F4B#260F4B

#260F4B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.103 H 295.1°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#260F4B
RGBrgb(38, 15, 75)
HSLhsl(263, 67%, 18%)
HSVhsv(263, 80%, 29%)
CMYKcmyk(49.3%, 80%, 0%, 70.6%)
CIE-LABlab(11.00, 26.95, -32.71)
CIE-LCHlch(11.00, 42.38, 309.48°)
OKLaboklab(24.48% 0.0439 -0.0937)
OKLCHoklch(24.48% 0.103 295.1)
XYZxyz(2.2398, 1.2617, 6.7808)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260F4B #344B0F
analogous
#0F164B #260F4B #440F4B
triadic
#260F4B #4B260F #0F4B26
tetradic
#260F4B #4B0F16 #344B0F #0F4B44
square
#260F4B #4B0F16 #344B0F #0F4B44
split-complementary
#260F4B #4B440F #164B0F
monochromatic
#0D051A #0D051A #260F4B #40197E #5A23B1

Accessibility & contrast

On white

16.77
#260F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#260F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260F4B
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260F4B#FFFFFF#000000##FFFFFF
##260F4B1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#1C1E2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #260f4b;
/* rgb */ color: rgb(38, 15, 75);
/* oklch */ color: oklch(24.5% 0.103 295.1);
Tailwind
colors: {
  custom: {
    50: '#65507e',
    500: '#260f4b',
    950: '#000000',
  },
}
SCSS
$custom: #260f4b;
$custom-light: #65507e;
$custom-dark: #000000;
JSON
{
  "hex": "#260f4b",
  "rgb": {
    "r": 38,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 263,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24481,
    "c": 0.10345,
    "h": 295.1
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#260F4B
secondary
#658530
accent
#EA3EA8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #260F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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