#250C3F#250C3F

#250C3F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.092 H 301.9°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#250C3F
RGBrgb(37, 12, 63)
HSLhsl(269, 68%, 15%)
HSVhsv(269, 81%, 25%)
CMYKcmyk(41.3%, 81%, 0%, 75.3%)
CIE-LABlab(9.12, 24.80, -27.36)
CIE-LCHlch(9.12, 36.93, 312.19°)
OKLaboklab(22.76% 0.0485 -0.078)
OKLCHoklch(22.76% 0.092 301.9)
XYZxyz(1.7914, 1.0151, 4.8032)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C3F #263F0C
analogous
#0C0C3F #250C3F #3F0C3F
triadic
#250C3F #3F250C #0C3F25
tetradic
#250C3F #3F0C0C #263F0C #0C3F3F
square
#250C3F #3F0C0C #263F0C #0C3F3F
split-complementary
#250C3F #3F3F0C #0C3F0C
monochromatic
#0F051A #0F051A #250C3F #431672 #6120A6

Accessibility & contrast

On white

17.46
#250C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#250C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C3F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C3F#FFFFFF#000000##FFFFFF
##250C3F1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#1F1824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250c3f;
/* rgb */ color: rgb(37, 12, 63);
/* oklch */ color: oklch(22.8% 0.092 301.9);
Tailwind
colors: {
  custom: {
    50: '#634d74',
    500: '#250c3f',
    950: '#000000',
  },
}
SCSS
$custom: #250c3f;
$custom-light: #634d74;
$custom-dark: #000000;
JSON
{
  "hex": "#250c3f",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 269.412,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22755,
    "c": 0.0918,
    "h": 301.9
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#250C3F
secondary
#547B2C
accent
#EB3D96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #250C3F

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

Preview Lab → · Contrast checker → · Palette generator →

#250C3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva