#230F4A#230F4A

#230F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.102 H 292.5°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#230F4A
RGBrgb(35, 15, 74)
HSLhsl(260, 66%, 17%)
HSVhsv(260, 80%, 29%)
CMYKcmyk(52.7%, 79.7%, 0%, 71%)
CIE-LABlab(10.51, 26.04, -32.85)
CIE-LCHlch(10.51, 41.91, 308.40°)
OKLaboklab(24.01% 0.039 -0.0942)
OKLCHoklch(24.01% 0.102 292.5)
XYZxyz(2.0996, 1.1933, 6.5969)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F4A #364A0F
analogous
#0F194A #230F4A #410F4A
triadic
#230F4A #4A230F #0F4A23
tetradic
#230F4A #4A0F19 #364A0F #0F4A41
square
#230F4A #4A0F19 #364A0F #0F4A41
split-complementary
#230F4A #4A410F #194A0F
monochromatic
#0C0519 #0C0519 #230F4A #3B197D #5324B0

Accessibility & contrast

On white

16.95
#230F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F4A
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F4A#FFFFFF#000000##FFFFFF
##230F4A1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#171E2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f4a;
/* rgb */ color: rgb(35, 15, 74);
/* oklch */ color: oklch(24.0% 0.102 292.5);
Tailwind
colors: {
  custom: {
    50: '#634f7d',
    500: '#230f4a',
    950: '#000000',
  },
}
SCSS
$custom: #230f4a;
$custom-light: #634f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#230f4a",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 260.339,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24008,
    "c": 0.10195,
    "h": 292.5
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#230F4A
secondary
#688430
accent
#E93FAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #230F4A

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

Preview Lab → · Contrast checker → · Palette generator →

#230F4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva