#431268#431268

#431268 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.139 H 305.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#431268
RGBrgb(67, 18, 104)
HSLhsl(274, 70%, 24%)
HSVhsv(274, 83%, 41%)
CMYKcmyk(35.6%, 82.7%, 0%, 59.2%)
CIE-LABlab(18.48, 39.11, -39.88)
CIE-LCHlch(18.48, 55.85, 314.44°)
OKLaboklab(31.5% 0.0805 -0.1136)
OKLCHoklch(31.5% 0.139 305.3)
XYZxyz(5.0292, 2.6254, 13.3358)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431268 #376812
analogous
#181268 #431268 #681262
triadic
#431268 #684312 #126843
tetradic
#431268 #681812 #376812 #126268
square
#431268 #681812 #376812 #126268
split-complementary
#431268 #626812 #126818
monochromatic
#11051A #210934 #431268 #651B9C #8624D0

Accessibility & contrast

On white

13.77
#431268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#431268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431268
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431268#FFFFFF#000000##FFFFFF
##4312681.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#3C283D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #431268;
/* rgb */ color: rgb(67, 18, 104);
/* oklch */ color: oklch(31.5% 0.139 305.3);
Tailwind
colors: {
  custom: {
    50: '#7c5694',
    500: '#431268',
    950: '#000000',
  },
}
SCSS
$custom: #431268;
$custom-light: #7c5694;
$custom-dark: #000000;
JSON
{
  "hex": "#431268",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 274.186,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31497,
    "c": 0.13924,
    "h": 305.3
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#431268
secondary
#64A036
accent
#ED3B87
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #431268

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

Preview Lab → · Contrast checker → · Palette generator →

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