#6F26A8#6F26A8

#6F26A8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.194 H 305.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6F26A8
RGBrgb(111, 38, 168)
HSLhsl(274, 63%, 40%)
HSVhsv(274, 77%, 66%)
CMYKcmyk(33.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(33.12, 54.30, -55.81)
CIE-LCHlch(33.12, 77.87, 314.21°)
OKLaboklab(44.8% 0.1117 -0.1589)
OKLCHoklch(44.8% 0.194 305.1)
XYZxyz(14.3149, 7.5930, 37.7496)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26A8 #5FA826
analogous
#2E26A8 #6F26A8 #A826A0
triadic
#6F26A8 #A86F26 #26A86F
tetradic
#6F26A8 #A82E26 #5FA826 #26A0A8
square
#6F26A8 #A82E26 #5FA826 #26A0A8
split-complementary
#6F26A8 #A0A826 #26A82E
monochromatic
#2D0F44 #4E1B76 #6F26A8 #8F39D2 #AB6BDE

Accessibility & contrast

On white

8.34
#6F26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6F26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26A8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26A8#FFFFFF#000000##FFFFFF
##6F26A81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#644766
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f26a8;
/* rgb */ color: rgb(111, 38, 168);
/* oklch */ color: oklch(44.8% 0.194 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e69c3',
    500: '#6f26a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f26a8;
$custom-light: #9e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26a8",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 273.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44801,
    "c": 0.19427,
    "h": 305.1
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#6F26A8
secondary
#8FC466
accent
#E6428A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F26A8

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

Preview Lab → · Contrast checker → · Palette generator →

#6F26A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva