#230F4F#230F4F

#230F4F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.109 H 290.3°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#230F4F
RGBrgb(35, 15, 79)
HSLhsl(259, 68%, 18%)
HSVhsv(259, 81%, 31%)
CMYKcmyk(55.7%, 81%, 0%, 69%)
CIE-LABlab(11.02, 27.64, -35.47)
CIE-LCHlch(11.02, 44.97, 307.92°)
OKLaboklab(24.52% 0.0377 -0.1019)
OKLCHoklch(24.52% 0.109 290.3)
XYZxyz(2.2748, 1.2634, 7.5196)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F4F #3B4F0F
analogous
#0F1B4F #230F4F #430F4F
triadic
#230F4F #4F230F #0F4F23
tetradic
#230F4F #4F0F1B #3B4F0F #0F4F43
square
#230F4F #4F0F1B #3B4F0F #0F4F43
split-complementary
#230F4F #4F430F #1B4F0F
monochromatic
#0B051A #0C051C #230F4F #3A1982 #5123B6

Accessibility & contrast

On white

16.77
#230F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F4F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F4F#FFFFFF#000000##FFFFFF
##230F4F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#14202E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230f4f;
/* rgb */ color: rgb(35, 15, 79);
/* oklch */ color: oklch(24.5% 0.109 290.3);
Tailwind
colors: {
  custom: {
    50: '#644f81',
    500: '#230f4f',
    950: '#000000',
  },
}
SCSS
$custom: #230f4f;
$custom-light: #644f81;
$custom-dark: #000000;
JSON
{
  "hex": "#230f4f",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 258.75,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24524,
    "c": 0.10863,
    "h": 290.3
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#230F4F
secondary
#6E8931
accent
#EB3DB5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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