#260746#260746

#260746 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.107 H 300.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#260746
RGBrgb(38, 7, 70)
HSLhsl(270, 82%, 15%)
HSVhsv(270, 90%, 27%)
CMYKcmyk(45.7%, 90%, 0%, 72.5%)
CIE-LABlab(9.04, 29.64, -32.43)
CIE-LCHlch(9.04, 43.94, 312.43°)
OKLaboklab(22.95% 0.0536 -0.0928)
OKLCHoklch(22.95% 0.107 300)
XYZxyz(1.9805, 1.0062, 5.8830)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#260746 #274607
analogous
#070746 #260746 #450746
triadic
#260746 #462607 #074626
tetradic
#260746 #460707 #274607 #074645
square
#260746 #460707 #274607 #074645
split-complementary
#260746 #464507 #074607
monochromatic
#0F031C #0F031C #260746 #440D7E #6212B5

Accessibility & contrast

On white

17.48
#260746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#260746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #260746
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##260746#FFFFFF#000000##FFFFFF
##2607461.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#1E1927
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #260746;
/* rgb */ color: rgb(38, 7, 70);
/* oklch */ color: oklch(22.9% 0.107 300.0);
Tailwind
colors: {
  custom: {
    50: '#654b7a',
    500: '#260746',
    950: '#000000',
  },
}
SCSS
$custom: #260746;
$custom-light: #654b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#260746",
  "rgb": {
    "r": 38,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 269.524,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2295,
    "c": 0.10712,
    "h": 300
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#260746
secondary
#558524
accent
#F83095
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #260746

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

Preview Lab → · Contrast checker → · Palette generator →

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