#251068#251068

#251068 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.139 H 283.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#251068
RGBrgb(37, 16, 104)
HSLhsl(254, 73%, 24%)
HSVhsv(254, 85%, 41%)
CMYKcmyk(64.4%, 84.6%, 0%, 59.2%)
CIE-LABlab(14.19, 35.35, -47.06)
CIE-LCHlch(14.19, 58.86, 306.91°)
OKLaboklab(27.63% 0.0322 -0.1357)
OKLCHoklch(27.63% 0.139 283.4)
XYZxyz(3.4462, 1.7631, 13.2527)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251068 #536810
analogous
#102768 #251068 #511068
triadic
#251068 #682510 #106825
tetradic
#251068 #681027 #536810 #106851
square
#251068 #681027 #536810 #106851
split-complementary
#251068 #685110 #276810
monochromatic
#09041B #120833 #251068 #38189D #4B20D2

Accessibility & contrast

On white

15.53
#251068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251068
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251068#FFFFFF#000000##FFFFFF
##2510681.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251068;
/* rgb */ color: rgb(37, 16, 104);
/* oklch */ color: oklch(27.6% 0.139 283.4);
Tailwind
colors: {
  custom: {
    50: '#6a5294',
    500: '#251068',
    950: '#000000',
  },
}
SCSS
$custom: #251068;
$custom-light: #6a5294;
$custom-dark: #000000;
JSON
{
  "hex": "#251068",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 254.318,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27627,
    "c": 0.13947,
    "h": 283.4
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#251068
secondary
#86A034
accent
#F038C4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251068

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

Preview Lab → · Contrast checker → · Palette generator →

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