#251175#251175

#251175 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.155 H 280.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#251175
RGBrgb(37, 17, 117)
HSLhsl(252, 75%, 26%)
HSVhsv(252, 85%, 46%)
CMYKcmyk(68.4%, 85.5%, 0%, 54.1%)
CIE-LABlab(15.89, 38.93, -52.72)
CIE-LCHlch(15.89, 65.54, 306.44°)
OKLaboklab(29.26% 0.0271 -0.1522)
OKLCHoklch(29.26% 0.155 280.1)
XYZxyz(4.1733, 2.0782, 17.0074)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251175 #617511
analogous
#112F75 #251175 #571175
triadic
#251175 #752511 #117525
tetradic
#251175 #75112F #617511 #117557
square
#251175 #75112F #617511 #117557
split-complementary
#251175 #755711 #2F7511
monochromatic
#08041B #140940 #251175 #3619AA #4722DF

Accessibility & contrast

On white

14.83
#251175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#251175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251175
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251175#FFFFFF#000000##FFFFFF
##2511751.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251175;
/* rgb */ color: rgb(37, 17, 117);
/* oklch */ color: oklch(29.3% 0.155 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d539e',
    500: '#251175',
    950: '#000000',
  },
}
SCSS
$custom: #251175;
$custom-light: #6d539e;
$custom-dark: #000000;
JSON
{
  "hex": "#251175",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 252,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.1546,
    "h": 280.1
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#251175
secondary
#94AC36
accent
#F137CC
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #251175

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

Preview Lab → · Contrast checker → · Palette generator →

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