#230F46#230F46

#230F46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.097 H 294.5°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#230F46
RGBrgb(35, 15, 70)
HSLhsl(262, 65%, 17%)
HSVhsv(262, 79%, 27%)
CMYKcmyk(50%, 78.6%, 0%, 72.5%)
CIE-LABlab(10.12, 24.76, -30.70)
CIE-LCHlch(10.12, 39.44, 308.89°)
OKLaboklab(23.61% 0.04 -0.0879)
OKLCHoklch(23.61% 0.097 294.5)
XYZxyz(1.9692, 1.1411, 5.9097)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F46 #32460F
analogous
#0F1746 #230F46 #3F0F46
triadic
#230F46 #46230F #0F4623
tetradic
#230F46 #460F17 #32460F #0F463F
square
#230F46 #460F17 #32460F #0F463F
split-complementary
#230F46 #463F0F #17460F
monochromatic
#0D0519 #0D0519 #230F46 #3C1A78 #5525AB

Accessibility & contrast

On white

17.10
#230F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#230F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F46
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F46#FFFFFF#000000##FFFFFF
##230F461.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#191D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #230f46;
/* rgb */ color: rgb(35, 15, 70);
/* oklch */ color: oklch(23.6% 0.097 294.5);
Tailwind
colors: {
  custom: {
    50: '#624f7a',
    500: '#230f46',
    950: '#000000',
  },
}
SCSS
$custom: #230f46;
$custom-light: #624f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230f46",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 261.818,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23607,
    "c": 0.09653,
    "h": 294.5
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#230F46
secondary
#638030
accent
#E840AB
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #230F46

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

Preview Lab → · Contrast checker → · Palette generator →

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