#250642#250642

#250642 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.104 H 301.7°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#250642
RGBrgb(37, 6, 66)
HSLhsl(271, 83%, 14%)
HSVhsv(271, 91%, 26%)
CMYKcmyk(43.9%, 90.9%, 0%, 74.1%)
CIE-LABlab(8.28, 28.90, -30.86)
CIE-LCHlch(8.28, 42.28, 313.12°)
OKLaboklab(22.26% 0.0544 -0.0882)
OKLCHoklch(22.26% 0.104 301.7)
XYZxyz(1.8112, 0.9169, 5.2348)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250642 #234206
analogous
#070642 #250642 #420641
triadic
#250642 #422506 #064225
tetradic
#250642 #420706 #234206 #064142
square
#250642 #420706 #234206 #064142
split-complementary
#250642 #414206 #064207
monochromatic
#10031C #10031C #250642 #440B7A #6410B2

Accessibility & contrast

On white

17.75
#250642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#250642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250642
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250642#FFFFFF#000000##FFFFFF
##2506421.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#1F1624
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #250642;
/* rgb */ color: rgb(37, 6, 66);
/* oklch */ color: oklch(22.3% 0.104 301.7);
Tailwind
colors: {
  custom: {
    50: '#644a77',
    500: '#250642',
    950: '#000000',
  },
}
SCSS
$custom: #250642;
$custom-light: #644a77;
$custom-dark: #000000;
JSON
{
  "hex": "#250642",
  "rgb": {
    "r": 37,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 271,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22258,
    "c": 0.10362,
    "h": 301.7
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#250642
secondary
#508222
accent
#FA2E91
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #250642

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

Preview Lab → · Contrast checker → · Palette generator →

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