#251075#251075

#251075 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.1% C 0.155 H 280.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#251075
RGBrgb(37, 16, 117)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 46%)
CMYKcmyk(68.4%, 86.3%, 0%, 54.1%)
CIE-LABlab(15.74, 39.38, -52.98)
CIE-LCHlch(15.74, 66.02, 306.63°)
OKLaboklab(29.15% 0.0276 -0.1529)
OKLCHoklch(29.15% 0.155 280.2)
XYZxyz(4.1581, 2.0479, 17.0023)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251075 #607510
analogous
#102D75 #251075 #571075
triadic
#251075 #752510 #107525
tetradic
#251075 #75102D #607510 #107557
square
#251075 #75102D #607510 #107557
split-complementary
#251075 #755710 #2D7510
monochromatic
#09041B #14093F #251075 #3617AB #471FE0

Accessibility & contrast

On white

14.90
#251075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#251075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251075
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251075#FFFFFF#000000##FFFFFF
##2510751.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251075;
/* rgb */ color: rgb(37, 16, 117);
/* oklch */ color: oklch(29.1% 0.155 280.2);
Tailwind
colors: {
  custom: {
    50: '#6d539e',
    500: '#251075',
    950: '#000000',
  },
}
SCSS
$custom: #251075;
$custom-light: #6d539e;
$custom-dark: #000000;
JSON
{
  "hex": "#251075",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 252.475,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.1554,
    "h": 280.2
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#251075
secondary
#93AC35
accent
#F335CB
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #251075

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

Preview Lab → · Contrast checker → · Palette generator →

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