#260948#260948

#260948 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.107 H 298.3°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#260948
RGBrgb(38, 9, 72)
HSLhsl(268, 78%, 16%)
HSVhsv(268, 88%, 28%)
CMYKcmyk(47.2%, 87.5%, 0%, 71.8%)
CIE-LABlab(9.60, 29.19, -32.92)
CIE-LCHlch(9.60, 43.99, 311.57°)
OKLaboklab(23.4% 0.0508 -0.0942)
OKLCHoklch(23.4% 0.107 298.3)
XYZxyz(2.0664, 1.0753, 6.2283)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260948 #2B4809
analogous
#090B48 #260948 #450948
triadic
#260948 #482609 #094826
tetradic
#260948 #48090B #2B4809 #094845
square
#260948 #48090B #2B4809 #094845
split-complementary
#260948 #484509 #0B4809
monochromatic
#0E031B #0E031B #260948 #43107E #5F17B5

Accessibility & contrast

On white

17.28
#260948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#260948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260948
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260948#FFFFFF#000000##FFFFFF
##2609481.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4A
Deuteranopia (green-blind)
#001A47
Tritanopia (blue-blind)
#1D1A28
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #260948;
/* rgb */ color: rgb(38, 9, 72);
/* oklch */ color: oklch(23.4% 0.107 298.3);
Tailwind
colors: {
  custom: {
    50: '#654c7c',
    500: '#260948',
    950: '#000000',
  },
}
SCSS
$custom: #260948;
$custom-light: #654c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#260948",
  "rgb": {
    "r": 38,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 267.619,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23404,
    "c": 0.10706,
    "h": 298.3
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#260948
secondary
#5A8527
accent
#F4349C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #260948

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

Preview Lab → · Contrast checker → · Palette generator →

#260948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva